Documentation ¶
Index ¶
- Constants
- Variables
- type IchubClientFactroy
- func (this *IchubClientFactroy) DbClient() *database.IchubDbClient
- func (this *IchubClientFactroy) Esclient() *ichubelastic.ElasticClient
- func (this *IchubClientFactroy) GetDB() *gorm.DB
- func (this *IchubClientFactroy) GetDbClientDto(dbtype string) *baseconfig.DbClientDto
- func (this *IchubClientFactroy) GetIchubDbClient(dbtype string) *database.IchubDbClient
- func (this *IchubClientFactroy) Ini() *IchubClientFactroy
- func (this *IchubClientFactroy) IniDbClient() *IchubClientFactroy
- func (this *IchubClientFactroy) IniDsClient() *IchubClientFactroy
- func (this *IchubClientFactroy) IniEsClient() *IchubClientFactroy
- func (this *IchubClientFactroy) IniMysqlClient() *IchubClientFactroy
- func (this *IchubClientFactroy) SetDbClient(dbClient *database.IchubDbClient)
- func (this *IchubClientFactroy) SetEsclient(esclient *ichubelastic.ElasticClient)
Constants ¶
View Source
const ( INPUT_RULE_PATH = "/data/input/rule/" OUTPUT_RULE_PATH = "/data/output/rule/" )
Variables ¶
View Source
var CommonContext *ichubCommonContext = newIchubCommonContext()
View Source
var IchubClient = NewIchubClientService()
Functions ¶
This section is empty.
Types ¶
type IchubClientFactroy ¶
type IchubClientFactroy struct {
// contains filtered or unexported fields
}
func NewIchubClientService ¶
func NewIchubClientService() *IchubClientFactroy
func (*IchubClientFactroy) DbClient ¶
func (this *IchubClientFactroy) DbClient() *database.IchubDbClient
func (*IchubClientFactroy) Esclient ¶
func (this *IchubClientFactroy) Esclient() *ichubelastic.ElasticClient
func (*IchubClientFactroy) GetDB ¶
func (this *IchubClientFactroy) GetDB() *gorm.DB
v suite.dbinst = ichubcontext.IchubClient.IniDbClient().DbClient().Db
func (*IchubClientFactroy) GetDbClientDto ¶
func (this *IchubClientFactroy) GetDbClientDto(dbtype string) *baseconfig.DbClientDto
func (*IchubClientFactroy) GetIchubDbClient ¶
func (this *IchubClientFactroy) GetIchubDbClient(dbtype string) *database.IchubDbClient
func (*IchubClientFactroy) Ini ¶
func (this *IchubClientFactroy) Ini() *IchubClientFactroy
func (*IchubClientFactroy) IniDbClient ¶
func (this *IchubClientFactroy) IniDbClient() *IchubClientFactroy
func (*IchubClientFactroy) IniDsClient ¶
func (this *IchubClientFactroy) IniDsClient() *IchubClientFactroy
func (*IchubClientFactroy) IniEsClient ¶
func (this *IchubClientFactroy) IniEsClient() *IchubClientFactroy
func (*IchubClientFactroy) IniMysqlClient ¶
func (this *IchubClientFactroy) IniMysqlClient() *IchubClientFactroy
func (*IchubClientFactroy) SetDbClient ¶
func (this *IchubClientFactroy) SetDbClient(dbClient *database.IchubDbClient)
func (*IchubClientFactroy) SetEsclient ¶
func (this *IchubClientFactroy) SetEsclient(esclient *ichubelastic.ElasticClient)
Click to show internal directories.
Click to hide internal directories.