Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct { RX <-chan *DataFrame TX chan<- *DataFrame ID ID // contains filtered or unexported fields }
func (*Connection) Close ¶
func (c *Connection) Close() error
type Manager ¶
type Manager struct { Tunnel io.ReadWriter Connections map[ID]*Connection // contains filtered or unexported fields }
func NewManager ¶
func NewManager(tun io.ReadWriter) *Manager
func (*Manager) Accept ¶
func (m *Manager) Accept() (*Connection, error)
func (*Manager) Connect ¶
func (m *Manager) Connect() (*Connection, error)
type WrongDataFrameTypeError ¶ added in v0.0.2
type WrongDataFrameTypeError struct {
ShouldBe Type
}
func (WrongDataFrameTypeError) Error ¶ added in v0.0.2
func (w WrongDataFrameTypeError) Error() string
Click to show internal directories.
Click to hide internal directories.