Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrAgentHasNoReferenceToPeer ¶
type ErrAgentHasNoReferenceToPeer struct {
Agent transport.Agent
PeerIdentifier transport.PeerIdentifier
}
ErrAgentHasNoReferenceToPeer is called when an agent is expected to operate on a Peer it has no reference to
func (ErrAgentHasNoReferenceToPeer) Error ¶
func (e ErrAgentHasNoReferenceToPeer) Error() string
type ErrInvalidAgentConversion ¶
ErrInvalidAgentConversion is called when an agent can't be properly converted
func (ErrInvalidAgentConversion) Error ¶
func (e ErrInvalidAgentConversion) Error() string
type ErrInvalidPeerConversion ¶
ErrInvalidPeerConversion is called when a peer can't be properly converted
func (ErrInvalidPeerConversion) Error ¶
func (e ErrInvalidPeerConversion) Error() string
type ErrInvalidPeerType ¶
type ErrInvalidPeerType struct {
ExpectedType string
PeerIdentifier transport.PeerIdentifier
}
ErrInvalidPeerType is when a specfic peer type is required, but was not passed in
func (ErrInvalidPeerType) Error ¶
func (e ErrInvalidPeerType) Error() string
type ErrPeerHasNoReferenceToSubscriber ¶
type ErrPeerHasNoReferenceToSubscriber struct {
PeerIdentifier transport.PeerIdentifier
PeerSubscriber transport.PeerSubscriber
}
ErrPeerHasNoReferenceToSubscriber is called when a Peer is expected to operate on a PeerSubscriber it has no reference to
func (ErrPeerHasNoReferenceToSubscriber) Error ¶
func (e ErrPeerHasNoReferenceToSubscriber) Error() string
type ErrPeerListAlreadyStarted ¶
type ErrPeerListAlreadyStarted string
ErrPeerListAlreadyStarted represents a failure because Start() was already called on the peerlist.
func (ErrPeerListAlreadyStarted) Error ¶
func (e ErrPeerListAlreadyStarted) Error() string
type ErrPeerListNotStarted ¶
type ErrPeerListNotStarted string
ErrPeerListNotStarted represents a failure because Start() was not called on a peerlist or if Stop() was called.
func (ErrPeerListNotStarted) Error ¶
func (e ErrPeerListNotStarted) Error() string