Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientInitializer ¶
type ClientInitializer interface { // Done returns true iff client has been initialized successfully. Done() bool }
ClientInitializer manages client initialization for sinks.
func NewClientInitializer ¶
func NewClientInitializer(name string, initializer func() error, ping func() error, frequency time.Duration) ClientInitializer
NewClientInitializer returns a ClientInitializer object that will attempt to initialize sink client periodically based on frequency, until successful.
Click to show internal directories.
Click to hide internal directories.