util

package
v0.19.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL