Documentation ¶
Overview ¶
Package leadership implements the client to the analog leadership service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LeadershipClaimDeniedErr = errors.New("leadership claim denied")
LeadershipClaimDeniedErr is the error which will be returned when a leadership claim has been denied.
Functions ¶
This section is empty.
Types ¶
type LeadershipClient ¶
type LeadershipClient interface { base.ClientFacade leadership.LeadershipManager }
LeadershipClient represents a client to the leadership service.
func NewClient ¶
func NewClient(facade base.ClientFacade, caller facadeCaller) LeadershipClient
NewClient returns a new LeadershipClient instance.
Click to show internal directories.
Click to hide internal directories.