Documentation
¶
Overview ¶
Package msgactor contains definitions for messages directly sent and received between actors of the toversok stage.
Actor message interface definitions are sealed within this package.
Index ¶
- type ActorMessage
- type DManSetMTU
- type DRouterPeerAddKnownAs
- type DRouterPeerClearKnownAs
- type DRouterPushSTUN
- type EManSTUNResponse
- type HomeRelayChangeNotification
- type LocalEndpointsChangeNotification
- type OutConnUse
- type PeerConnStateChangeNotification
- type PeerState
- type RManRelayLatencyResults
- type SManSendSessionMessageToDirect
- type SManSendSessionMessageToRelay
- type SManSessionFrameFromAddrPort
- type SManSessionFrameFromRelay
- type StageNotification
- type SyncPeerInfo
- type TManConnActivity
- type TManConnGoodBye
- type TManSessionMessageFromDirect
- type TManSessionMessageFromRelay
- type UpdateRelayConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActorMessage ¶
type ActorMessage interface {
// contains filtered or unexported methods
}
type DManSetMTU ¶
type DRouterPeerAddKnownAs ¶
type DRouterPeerAddKnownAs struct { Peer key.NodePublic AddrPort netip.AddrPort }
type DRouterPeerClearKnownAs ¶
type DRouterPeerClearKnownAs struct {
Peer key.NodePublic
}
type DRouterPushSTUN ¶
type EManSTUNResponse ¶
type HomeRelayChangeNotification ¶
type HomeRelayChangeNotification struct {
// contains filtered or unexported fields
}
type LocalEndpointsChangeNotification ¶
type LocalEndpointsChangeNotification struct {
// contains filtered or unexported fields
}
type OutConnUse ¶
type PeerConnStateChangeNotification ¶
type PeerConnStateChangeNotification struct {
// contains filtered or unexported fields
}
type RManRelayLatencyResults ¶
type SManSendSessionMessageToDirect ¶
type SManSendSessionMessageToDirect struct { AddrPort netip.AddrPort ToSession key.SessionPublic Msg msgsess.SessionMessage }
type SManSendSessionMessageToRelay ¶
type SManSendSessionMessageToRelay struct { Relay int64 Peer key.NodePublic ToSession key.SessionPublic Msg msgsess.SessionMessage }
type SManSessionFrameFromRelay ¶
type SManSessionFrameFromRelay struct { Relay int64 Peer key.NodePublic FrameWithMagic []byte }
type StageNotification ¶
type StageNotification interface {
// contains filtered or unexported methods
}
type SyncPeerInfo ¶
type SyncPeerInfo struct {
Peer key.NodePublic
}
type TManConnActivity ¶
type TManConnActivity struct { Peer key.NodePublic // else its out IsIn bool IsActive bool }
type TManConnGoodBye ¶
type TManConnGoodBye struct { Peer key.NodePublic // else its out IsIn bool }
type TManSessionMessageFromDirect ¶
type TManSessionMessageFromDirect struct { AddrPort netip.AddrPort Msg *msgsess.ClearMessage }
type TManSessionMessageFromRelay ¶
type TManSessionMessageFromRelay struct { Relay int64 Peer key.NodePublic // session key from the session message Msg *msgsess.ClearMessage }
type UpdateRelayConfiguration ¶
type UpdateRelayConfiguration struct {
Config []relay.Information
}
Click to show internal directories.
Click to hide internal directories.