Versions in this module Expand all Collapse all v0 v0.0.1 Oct 7, 2019 Changes in this version + var HandlerMap []*HandlerRef + var SenderMap []*SenderRef + type Container struct + Metrics []*Metric + Template *Metric + func (c *Container) Validate() error + func (c Container) String() string + type Duration struct + func (d *Duration) UnmarshalJSON(b []byte) error + func (d Duration) MarshalJSON() ([]byte, error) + type Error struct + Next error + Reason string + Source string + func (e Error) Container() Container + func (e Error) Error() string + type Handler struct + Parser Parser + Sender Sender + Transformers []Transformer + func (h *Handler) Handle(b []byte) error + func (h *Handler) Transform(c *Container) error + func (h *Handler) TransformAndSend(c *Container) error + func (h Handler) Verify() error + type HandlerRef struct + H *Handler + Name string + func (sr *HandlerRef) MarshalJSON() ([]byte, error) + func (sr *HandlerRef) UnmarshalJSON(b []byte) error + type Metric struct + Data map[string]interface{} + Metadata map[string]interface{} + Time *time.Time + type Parser interface + Parse func(data []byte) (Container, error) + type Receiver interface + Start func() error + type Sender interface + Send func(c *Container) error + type SenderRef struct + Name string + S Sender + func (sr *SenderRef) MarshalJSON() ([]byte, error) + func (sr *SenderRef) UnmarshalJSON(b []byte) error + type Transformer interface + Transform func(c *Container) error + type Verifier interface + Verify func() error