Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TargetStats ¶
type TargetStats struct { // QueueLength is the queue length if any messages are queued. QueueLength int // TotalMessages is the total number of messages sent in the lifetime of the target TotalMessages int64 // FailedMessages should log message count that failed to send. FailedMessages int64 }
TargetStats contains statistics for a target.
type TargetType ¶
type TargetType uint8
TargetType indicates type of the target e.g. console, http, kafka
const ( TargetConsole TargetType TargetHTTP TargetKafka )
Constants for target types
func (TargetType) String ¶
func (i TargetType) String() string
Click to show internal directories.
Click to hide internal directories.