Documentation
¶
Index ¶
Constants ¶
View Source
const PROTOCOLL_SIGNATURE uint8 = 0xA5
Variables ¶
This section is empty.
Functions ¶
func IsValidSignal ¶
func IsValidSignal(d eventual2go.Data) bool
func NewSignalPayload ¶
func SignalToAdress ¶
func SignalToAdress(d eventual2go.Data) eventual2go.Data
Types ¶
type LeaveEvent ¶
type LeaveEvent struct {
Name string
}
type Node ¶
type Node struct { UUID string // contains filtered or unexported fields }
func (*Node) Join ¶
func (n *Node) Join() *eventual2go.Stream
func (*Node) Leave ¶
func (n *Node) Leave() *eventual2go.Stream
func (*Node) Queries ¶
func (n *Node) Queries() *eventual2go.Stream
func (*Node) Query ¶
func (n *Node) Query(name string, data []byte, results *eventual2go.StreamController)
type PeerAddress ¶
type QueryEvent ¶
type QueryResponseEvent ¶
type QueryResponseEvent struct { Interface string Response serf.NodeResponse }
Click to show internal directories.
Click to hide internal directories.