transport

package
v0.0.0-...-1847b9f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transport

type Transport struct {
	// contains filtered or unexported fields
}

Transport will use TLV protocol

func NewTransport

func NewTransport(conn net.Conn) *Transport

NewTransport creates a Transport

func (*Transport) Read

func (t *Transport) Read() ([]byte, error)

Read TLV Data sent over the wire

func (*Transport) Send

func (t *Transport) Send(data []byte) error

Send TLV encoded data over the network

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL