base

package
v0.59.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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 NewBaseNexus(name string) *NexusBase

func NewBaseNexusBelow

func NewBaseNexusBelow(name string, belowNexus nexus.Nexus) *NexusBase

func NewBaseNexusFull

func NewBaseNexusFull(name string, belowNexus nexus.Nexus, layer layer.Layer) NexusBase

func (*NexusBase) CheckCrossedNexus added in v0.54.0

func (b *NexusBase) CheckCrossedNexus(belowNexus nexus.Nexus)

func (NexusBase) GetDownwardNexusList added in v0.54.0

func (b NexusBase) GetDownwardNexusList() (belowList []nexus.Nexus)

func (*NexusBase) InitiateClose added in v0.54.0

func (b *NexusBase) InitiateClose()

func (*NexusBase) IsEqual added in v0.54.0

func (b *NexusBase) IsEqual(n nexus.Nexus) bool

func (*NexusBase) Name added in v0.54.0

func (b *NexusBase) Name() string

func (*NexusBase) OnBinMessage added in v0.54.0

func (b *NexusBase) OnBinMessage(belowNexus nexus.Nexus, msg []byte)

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) SendBin added in v0.54.0

func (b *NexusBase) SendBin(msg []byte) 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 (b *NexusBase) SetOnMessage(messageFunc nexus.OnMessage)

func (NexusBase) SharedSeed added in v0.54.0

func (b NexusBase) SharedSeed() *beacon.SharedSeed

func (*NexusBase) UUID added in v0.54.0

func (b *NexusBase) UUID() uuid.UUID

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL