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 ¶
ChannelTransport implements a basic MVDS transport using channels for basic testing purposes.
func NewChannelTransport ¶
func NewChannelTransport(offline int, in <-chan Packet) *ChannelTransport
func (*ChannelTransport) AddOutput ¶
func (t *ChannelTransport) AddOutput(id state.PeerID, c chan<- Packet)
func (*ChannelTransport) Watch ¶
func (t *ChannelTransport) Watch() Packet
Click to show internal directories.
Click to hide internal directories.