package
Version:
v1.2.15
Opens a new window with list of versions in this module.
Published: Jul 22, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func ESClient() *elastic.Client
func Init(conf Config, options ...elastic.ClientOptionFunc) (err error)
func New(conf Config, options ...elastic.ClientOptionFunc) (cli *client, err error)
type Config struct {
Addr string `json:"addr" yaml:"addr"`
User string `json:"user" yaml:"user"`
Password string `json:"password" yaml:"password"`
EnableLog bool `json:"enable_log" yaml:"enable_log"`
}
type Pagination struct {
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.