simple-go-rpc: Index | Files

package transport

import ""


Package Files


type Transport Uses

type Transport struct {
    // contains filtered or unexported fields

Transport will use TLV protocol

func NewTransport Uses

func NewTransport(conn net.Conn) *Transport

NewTransport creates a Transport

func (*Transport) Read Uses

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

Read TLV Data sent over the wire

func (*Transport) Send Uses

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

Send TLV encoded data over the network

Package transport imports 3 packages (graph) and is imported by 2 packages. Updated 2019-08-04. Refresh now. Tools for package owners.