Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ESItemResponse ¶
type ESItemResponse struct { Create *ESOpStatus `json:"create"` Index *ESOpStatus `json:"index"` }
func (ESItemResponse) Status ¶
func (r ESItemResponse) Status() *ESOpStatus
func (ESItemResponse) String ¶
func (r ESItemResponse) String() string
type ESOpStatus ¶
type ESOpStatus struct { ESStatus ID string `json:"_id"` Record json.RawMessage `json:"_source"` }
func (ESOpStatus) String ¶
func (s ESOpStatus) String() string
type ESResponse ¶
type ESResponse struct { ESStatus Took int `json:"took"` Items []ESItemResponse `json:"items"` }
func (ESResponse) String ¶
func (r ESResponse) String() string
type InputRecord ¶
type InputRecord struct { ID string `json:"id"` Suffix string `json:"date"` Document json.RawMessage `json:"log"` }
Record defines the expected schema of input.
func (InputRecord) Record ¶
func (r InputRecord) Record() Record
func (InputRecord) String ¶
func (r InputRecord) String() string
Click to show internal directories.
Click to hide internal directories.