Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Calc ¶
type Calc struct { Open int64 `json:"open"` PlayRatio float64 `json:"play_ratio"` FavRatio float64 `json:"fav_ratio"` LikeRatio float64 `json:"like_ratio"` CoinRatio float64 `json:"coin_ratio"` ReplyRatio float64 `json:"reply_ratio"` }
Calc .
type EsParam ¶
type EsParam struct { From int `json:"from"` Size int `json:"size"` Query map[string]map[string]interface{} `json:"query"` Sort []map[string]*Script `json:"sort"` }
EsParam es请求参数
type Query ¶
type Query struct { Calc *Calc `json:"calc"` Where *Where `json:"where"` Filter map[string]interface{} `json:"filter"` From int `json:"from"` Size int `json:"size"` }
Query .
Click to show internal directories.
Click to hide internal directories.