Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ESDoc ¶
type ESDoc struct { Echo string `json:"echo"` Subg string `json:"subg"` To string `json:"to"` Author string `json:"author"` Message string `json:"message"` Date string `json:"date"` MsgID string `json:"msgid"` Tags string `json:"tags"` Repto string `json:"repto"` Address string `json:"address"` TopicID string `json:"topicid"` Misplaced string `json:"misplaced"` }
ESDoc Elasticsearch document structure
type ESRes ¶
type ESRes struct { ScrollID string `json:"_scroll_id"` Took int `json:"took"` TimedOut bool `json:"timed_out"` Hits Hits `json:"hits"` }
ESRes ES response structure
Click to show internal directories.
Click to hide internal directories.