Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertMapToStruct ¶
Types ¶
type Elastic ¶
type Elastic interface { Index(index string, id string, value interface{}) error Search(index string, termQueryType string, query map[string]interface{}, option *SearchOption) ([]map[string]interface{}, error) Delete(index string, ids []string) DeleteIndex(indexes []string) }
func NewElasticClient ¶
type SearchOption ¶
Click to show internal directories.
Click to hide internal directories.