Documentation ¶
Index ¶
Constants ¶
View Source
const ( TargetAdded = "Added" TargetRemoved = "Removed" LbStopped = "LbStopped" )
Variables ¶
View Source
var ( DownErr = errors.New("lb down") PausedErr = errors.New("lb paused") )
Functions ¶
This section is empty.
Types ¶
type KeyLbNotifier ¶
type KeyLbNotifier interface { KeyLoadBalancer LbNotifier }
type KeyLoadBalancer ¶
func NewStaticLB ¶
func NewStaticLB(mykey string, allKeys []string) KeyLoadBalancer
func NewStaticLbFromIndexes ¶
func NewStaticLbFromIndexes(prefix string, myIndex, all int) KeyLoadBalancer
type LbEvent ¶
func NewAddedEvent ¶
func NewLbStoppedEvent ¶
func NewLbStoppedEvent() *LbEvent
func NewRemovedEvent ¶
type LbNotifier ¶
Click to show internal directories.
Click to hide internal directories.