Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RawMessage ¶
type RawMessage struct { Message interface{} `json:"message"` Src netip.AddrPort `json:"src"` TimeReceived time.Time `json:"time_received"` }
Raw message
func (RawMessage) MarshalJSON ¶
func (m RawMessage) MarshalJSON() ([]byte, error)
func (RawMessage) MarshalText ¶
func (m RawMessage) MarshalText() ([]byte, error)
type RawProducer ¶
type RawProducer struct { }
Producer that keeps the same format as the original flow samples. This can be used for debugging (eg: getting NetFlow Option Templates)
func (*RawProducer) Close ¶
func (p *RawProducer) Close()
func (*RawProducer) Commit ¶
func (p *RawProducer) Commit(flowMessageSet []producer.ProducerMessage)
func (*RawProducer) Produce ¶
func (p *RawProducer) Produce(msg interface{}, args *producer.ProduceArgs) ([]producer.ProducerMessage, error)
Click to show internal directories.
Click to hide internal directories.