Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mode ¶
type Mode struct {
// contains filtered or unexported fields
}
Mode sends all Output on one single connection. If connection is not available, the output plugin blocks until the connection is either available again or the connection mode is closed by Close.
func New ¶
func New( client mode.ProtocolClient, maxAttempts int, waitRetry, timeout, maxWaitRetry time.Duration, ) (*Mode, error)
New creates a new single connection mode using exactly one ProtocolClient connection.
Click to show internal directories.
Click to hide internal directories.