Documentation ¶
Index ¶
- type IncomingLocalLayer
- type OutgoingLocalLayer
- func (o *OutgoingLocalLayer) AnnounceNexus(belowNexus nexus.Nexus)
- func (o *OutgoingLocalLayer) Connect(sharedSeed beacon.SharedSeed)
- func (o *OutgoingLocalLayer) Disconnect(sharedSeed beacon.SharedSeed)
- func (o *OutgoingLocalLayer) RegisterAboveLayer(belowLayer layer.Layer)
- func (o *OutgoingLocalLayer) SetIncomingLayer(incomingLayer layer.Layer)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IncomingLocalLayer ¶
func NewIncomingLocalLayer ¶
func NewIncomingLocalLayer() *IncomingLocalLayer
func (*IncomingLocalLayer) AnnounceNexus ¶
func (i *IncomingLocalLayer) AnnounceNexus(belowNexus nexus.Nexus)
AnnounceNexus creates a new LocalNexus and registers it
func (*IncomingLocalLayer) RegisterAboveLayer ¶
func (i *IncomingLocalLayer) RegisterAboveLayer(belowLayer layer.Layer)
RegisterAboveLayer registers the current nexuses announce/revoke nexuses to the below layer
type OutgoingLocalLayer ¶
func NewOutgoingLocalLayer ¶
func NewOutgoingLocalLayer() OutgoingLocalLayer
func (*OutgoingLocalLayer) AnnounceNexus ¶
func (o *OutgoingLocalLayer) AnnounceNexus(belowNexus nexus.Nexus)
AnnounceNexus creates a new local.LocalNexus and registers it
func (*OutgoingLocalLayer) Connect ¶
func (o *OutgoingLocalLayer) Connect(sharedSeed beacon.SharedSeed)
func (*OutgoingLocalLayer) Disconnect ¶
func (o *OutgoingLocalLayer) Disconnect(sharedSeed beacon.SharedSeed)
func (*OutgoingLocalLayer) RegisterAboveLayer ¶
func (o *OutgoingLocalLayer) RegisterAboveLayer(belowLayer layer.Layer)
RegisterAboveLayer registers the current nexuses announce/revoke nexuses to the below layer
func (*OutgoingLocalLayer) SetIncomingLayer ¶
func (o *OutgoingLocalLayer) SetIncomingLayer(incomingLayer layer.Layer)
Click to show internal directories.
Click to hide internal directories.