Documentation
¶
Overview ¶
Package transport contains transport related logic for MVDS.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelTransport ¶ added in v0.0.13
ChannelTransport implements a basic MVDS transport using channels for basic testing purposes.
func NewChannelTransport ¶ added in v0.0.13
func NewChannelTransport(offline int, in <-chan Packet) *ChannelTransport
func (*ChannelTransport) AddOutput ¶ added in v0.0.13
func (t *ChannelTransport) AddOutput(id state.PeerID, c chan<- Packet)
func (*ChannelTransport) Watch ¶ added in v0.0.13
func (t *ChannelTransport) Watch() Packet
Click to show internal directories.
Click to hide internal directories.