Documentation ¶ Index ¶ Constants type Client func (c Client) Connect(identity id.Identity, port string) (client Client, err error) func (c Client) Contacts() (<-chan []Contact, error) type Contact type Link type Loader func (Loader) Load(node modules.Node, _ assets.Assets, log *log.Logger) (modules.Module, error) Constants ¶ View Source const ServiceName = "contacts.*" Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { rpc.Conn } func (Client) Connect ¶ func (c Client) Connect(identity id.Identity, port string) (client Client, err error) func (Client) Contacts ¶ func (c Client) Contacts() (<-chan []Contact, error) type Contact ¶ type Contact struct { Id string Alias string } type Link ¶ type Link struct { Id int RemoteId string Remote string Network string Idle time.Duration Since time.Duration Latency time.Duration } type Loader ¶ type Loader struct{} func (Loader) Load ¶ func (Loader) Load(node modules.Node, _ assets.Assets, log *log.Logger) (modules.Module, error) Source Files ¶ View all Source files client.go contacts.go links.go module.go persence.go service.go Click to show internal directories. Click to hide internal directories.