Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IsLeaderResponse ¶
type IsLeaderResponse struct {
Leader bool
}
IsLeaderResponse is the rpc response
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager is the exported type for json-rpc
func PluginServer ¶
PluginServer returns a Manager that conforms to the net/rpc rpc call convention.
func (*Manager) ImplementedInterface ¶
func (p *Manager) ImplementedInterface() spi.InterfaceSpec
ImplementedInterface returns the interface implemented by this RPC service.
func (*Manager) IsLeader ¶
func (p *Manager) IsLeader(_ *http.Request, req *IsLeaderRequest, resp *IsLeaderResponse) error
IsLeader returns information about leadership status for this manager.
Click to show internal directories.
Click to hide internal directories.