Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadElasticClient ¶ added in v1.0.112
func LoadElasticClient() baseiface.ISingleton
Types ¶
type ElasticClient ¶
type ElasticClient struct { basedto.BaseEntitySingle ClientDto *baseconfig.ElasticClientDto // contains filtered or unexported fields }
func FindBeanElasticClient ¶ added in v1.0.112
func FindBeanElasticClient() *ElasticClient
func New ¶
func New(dto *baseconfig.ElasticClientDto) *ElasticClient
func NewElasticClient ¶
func NewElasticClient() *ElasticClient
func (*ElasticClient) Client ¶
func (this *ElasticClient) Client() *elastic.Client
func (*ElasticClient) Close ¶
func (this *ElasticClient) Close()
func (*ElasticClient) Open ¶
func (this *ElasticClient) Open() (*elastic.Client, error)
func (*ElasticClient) SetClient ¶
func (this *ElasticClient) SetClient(client *elastic.Client)
Click to show internal directories.
Click to hide internal directories.