Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoolWrapper ¶
type BoolWrapper struct {
Bool OperatorWrapper `json:"bool"`
}
type EsRespHitsTag ¶
type EsRespHitsWrapperTag ¶
type EsRespHitsWrapperTag struct { Total int `json:"total"` MaxScore float32 `json:"max_score"` Hits []EsRespHitsTag `json:"hits"` }
type EsRespShards ¶
type EsResponseTag ¶
type EsResponseTag struct { Took int `json:"took"` TimedOut bool `json:"timed_out"` Shards EsRespShards `json:"_shards"` Hits EsRespHitsWrapperTag `json:"hits"` }
type OperatorWrapper ¶
type OperatorWrapper struct { Must []interface{} `json:"must,omitempty"` MustNot []interface{} `json:"must_not,omitempty"` Should []interface{} `json:"should,omitempty"` }
type QueryWrapper ¶
type QueryWrapper struct { Size int64 `json:"size,omitempty"` From int64 `json:"from,omitempty"` Query BoolWrapper `json:"filter"` Fields []string `json:"fields,omitempty"` }
type Response ¶
type Response struct { TotalRecords int `json:"totalRecords,omitempty"` Payload interface{} `json:"payload,omitempty"` Message interface{} `json:"message,omitempty"` }
type StructV2Error ¶
type StructV2Error struct { Key string `json:"key"` Metric string `json:"metric"` Tags []Tag `json:"tagsError"` }
func (*StructV2Error) Validate ¶
func (s *StructV2Error) Validate() gobol.Error
type UDPerror ¶
type UDPerror struct {
// contains filtered or unexported fields
}
func (*UDPerror) GetErrorInfo ¶
func (uerror *UDPerror) GetErrorInfo(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (*UDPerror) ListErrorTags ¶
func (uerror *UDPerror) ListErrorTags(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
Click to show internal directories.
Click to hide internal directories.