Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type ErrorHandler ¶
type ErrorHandler interface {
HandleError(error)
}
type ErrorHandlerFunc ¶
type ErrorHandlerFunc func(error)
func (ErrorHandlerFunc) HandleError ¶
func (f ErrorHandlerFunc) HandleError(err error)
type Options ¶
type Options struct { Addr string TagPrefix string SendBufSize int ErrorBufSize int ErrorHandler ErrorHandler LogHandler func(string, ...interface{}) DialTimeout time.Duration CloseTimeout time.Duration Timeout time.Duration RetryWait time.Duration MaxBackoff int MaxPendingSize int IsFluxion bool // If NonBlocking is true and send buffer is full, further events will be dropped. NonBlocking bool }
Click to show internal directories.
Click to hide internal directories.