Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultNewClient ¶ added in v0.1.2
func DefaultNewClient(c *ClientConfig, cc *Config) (es *elasticsearch.Client, err error)
func OperationApiLog ¶ added in v0.1.3
Types ¶
type Client ¶
type Client struct {
Client *elasticsearch.Client
Cfg ClientConfig
Log logger.Interface
CreateClient func(c *ClientConfig, cc *Config) (es *elasticsearch.Client, err error)
// contains filtered or unexported fields
}
type ClientConfig ¶
type Operation ¶
type Operation struct {
ApiLog func(c *Client, op, idx, body string) func()
// contains filtered or unexported fields
}
func NewOperation ¶
type RespSearch ¶
type RespSearchItem ¶
Click to show internal directories.
Click to hide internal directories.