Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StartClientChan = make(chan *Client)
Functions ¶
func CheckServer ¶
func CkeckAllServerStatus ¶
func CkeckAllServerStatus()
func CkeckServerStatus ¶
func CkeckServerStatus(addr string)
func RequestForFile ¶
func RequestForGeneration ¶
func RequestForGeneration(generation *dc.Generation)
Types ¶
type Client ¶
type Client struct { Addr string Hash []byte Generation *dc.Generation }
client type is used to connect to a server
func (*Client) GetNeighbours ¶
func (*Client) IsServerAlive ¶
Click to show internal directories.
Click to hide internal directories.