Documentation
¶
Index ¶
- type BroadcastMessage
- type Client
- type Prattle
- func (p *Prattle) Get(k string) (interface{}, bool)
- func (p *Prattle) JoinCluster(siblingAddr string) error
- func (p *Prattle) Members() []string
- func (p *Prattle) SetViaGossip(key string, value interface{}) error
- func (p *Prattle) SetViaUDP(key string, value interface{}) error
- func (p *Prattle) Shutdown()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BroadcastMessage ¶
type BroadcastMessage struct {
Key string
Value interface{}
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewConsulClient ¶
func (*Client) FetchHealthyNode ¶
type Prattle ¶
type Prattle struct {
// contains filtered or unexported fields
}
func NewPrattle ¶
func (*Prattle) JoinCluster ¶
func (*Prattle) SetViaGossip ¶
Click to show internal directories.
Click to hide internal directories.