client

package
v0.0.0-...-344e891 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2015 License: MIT Imports: 12 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(config string) *Client

func (*Client) Start

func (c *Client) Start(lostChan chan string)

type Configuration

type Configuration struct {
	MyAddress string
	Servers   []string
	Gossip    uint32
	Cleanup   uint32
}

type Heartbeat

type Heartbeat struct {
	// contains filtered or unexported fields
}

func NewHeartbeat

func NewHeartbeat(client *Client) *Heartbeat

func (*Heartbeat) Receive

func (h *Heartbeat) Receive(addr *string, reply *string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL