Documentation
¶
Index ¶
Constants ¶
View Source
const PeerKeyLength = 32
Variables ¶
View Source
var DefaultSet = wire.NewSet( NewFilterPeerService, )
View Source
var (
ErrDeviceNotFound = errors.New("device not found")
)
View Source
var (
ErrPeerNotFound = errors.New("peer not found")
)
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct {
// contains filtered or unexported fields
}
func (*Device) ListenPort ¶
func (*Device) PrivateKey ¶
type FilterPeerService ¶
type FilterPeerService struct {
// contains filtered or unexported fields
}
func NewFilterPeerService ¶
func NewFilterPeerService(searcher PeerSearcher, allower PeerAllower) *FilterPeerService
type Peer ¶
type Peer struct {
// contains filtered or unexported fields
}
func (*Peer) DeviceName ¶
type PeerAllower ¶
type PeerId ¶
type PeerId struct {
// contains filtered or unexported fields
}
func (*PeerId) EndpointKey ¶
func (*PeerId) RemoteEndpointKey ¶
type PeerKey ¶
type PeerKey [PeerKeyLength]byte
Click to show internal directories.
Click to hide internal directories.