Documentation ¶
Index ¶
- type Peerstore
- func (p *Peerstore) Add(addr string, rw *func(string) error)
- func (p *Peerstore) Del(addr string)
- func (p *Peerstore) Has(addr string) bool
- func (p *Peerstore) Listen(ctx context.Context, routingDiscovery *discovery.RoutingDiscovery, ...)
- func (p *Peerstore) SetHostId(addr string)
- func (p *Peerstore) Write(addr string, str string) error
- func (p *Peerstore) WriteAll(str string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.