Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ElasticConfig ¶
type ElasticConfig elasticsearch.Config
func (*ElasticConfig) Build ¶
func (conf *ElasticConfig) Build() *elasticsearch.Client
type Es ¶
type Es struct {
*elasticsearch.Client
Conf ElasticConfig
}
type Esv2 ¶
type Esv2 struct {
*elasticsearch.Client `init:"entity"`
Config ElasticConfig `init:"config"`
}
Click to show internal directories.
Click to hide internal directories.