Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ElasticClient ¶
type ElasticClient struct { ClientDto *baseconfig.ElasticClientDto // contains filtered or unexported fields }
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.