Documentation ¶
Index ¶
- type NexusBase
- func (b *NexusBase) CheckCrossedNexus(belowNexus nexus.Nexus)
- func (b NexusBase) GetDownwardNexusList() (belowList []nexus.Nexus)
- func (b *NexusBase) InitiateClose()
- func (b *NexusBase) IsEqual(n nexus.Nexus) bool
- func (b *NexusBase) Name() string
- func (b *NexusBase) OnBinMessage(belowNexus nexus.Nexus, msg []byte)
- func (b *NexusBase) OnMessage(belowNexus nexus.Nexus, msg base.MoneysocketMessage)
- func (b *NexusBase) Send(msg base.MoneysocketMessage) error
- func (b *NexusBase) SendBin(msg []byte) error
- func (b *NexusBase) SetOnBinMessage(messageBinFunc nexus.OnBinMessage)
- func (b *NexusBase) SetOnMessage(messageFunc nexus.OnMessage)
- func (b NexusBase) SharedSeed() *beacon.SharedSeed
- func (b *NexusBase) UUID() uuid.UUID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NexusBase ¶ added in v0.54.0
type NexusBase struct { BelowNexus *nexus.Nexus Layer layer.Layer // contains filtered or unexported fields }
NexusBase is the nexus superclass. It contains common functions for a nexus
func NewBaseNexus ¶
func NewBaseNexusFull ¶
func (*NexusBase) CheckCrossedNexus ¶ added in v0.54.0
func (NexusBase) GetDownwardNexusList ¶ added in v0.54.0
func (*NexusBase) InitiateClose ¶ added in v0.54.0
func (b *NexusBase) InitiateClose()
func (*NexusBase) OnBinMessage ¶ added in v0.54.0
func (*NexusBase) OnMessage ¶ added in v0.54.0
func (b *NexusBase) OnMessage(belowNexus nexus.Nexus, msg base.MoneysocketMessage)
func (*NexusBase) Send ¶ added in v0.54.0
func (b *NexusBase) Send(msg base.MoneysocketMessage) error
func (*NexusBase) SetOnBinMessage ¶ added in v0.54.0
func (b *NexusBase) SetOnBinMessage(messageBinFunc nexus.OnBinMessage)
func (*NexusBase) SetOnMessage ¶ added in v0.54.0
func (NexusBase) SharedSeed ¶ added in v0.54.0
func (b NexusBase) SharedSeed() *beacon.SharedSeed
Click to show internal directories.
Click to hide internal directories.