Documentation ¶
Index ¶
- type RelayLayer
- func (r *RelayLayer) AnnounceNexus(rendezvousNexus nexusHelper.Nexus)
- func (r *RelayLayer) OnBinMessage(rendezvousNexus nexusHelper.Nexus, msg []byte)
- func (r *RelayLayer) OnMessage(rendezvousNexus nexusHelper.Nexus, msg base.MoneysocketMessage)
- func (r *RelayLayer) RegisterAboveLayer(belowLayer layer.Layer)
- func (r *RelayLayer) RevokeNexus(rendezvousNexus nexusHelper.Nexus)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RelayLayer ¶
type RelayLayer struct { layer.BaseLayer RendezvousLayer *rendezvous.IncomingRendezvousLayer }
func NewRelayLayer ¶
func NewRelayLayer(rendezvousLayer *rendezvous.IncomingRendezvousLayer) *RelayLayer
func (*RelayLayer) AnnounceNexus ¶
func (r *RelayLayer) AnnounceNexus(rendezvousNexus nexusHelper.Nexus)
func (*RelayLayer) OnBinMessage ¶
func (r *RelayLayer) OnBinMessage(rendezvousNexus nexusHelper.Nexus, msg []byte)
func (*RelayLayer) OnMessage ¶
func (r *RelayLayer) OnMessage(rendezvousNexus nexusHelper.Nexus, msg base.MoneysocketMessage)
func (*RelayLayer) RegisterAboveLayer ¶
func (r *RelayLayer) RegisterAboveLayer(belowLayer layer.Layer)
func (*RelayLayer) RevokeNexus ¶
func (r *RelayLayer) RevokeNexus(rendezvousNexus nexusHelper.Nexus)
Click to show internal directories.
Click to hide internal directories.