simple-go-rpc: github.com/ankur-anand/simple-go-rpc/src/transport Index | Files

package transport

import "github.com/ankur-anand/simple-go-rpc/src/transport"

Index

Package Files

transport.go

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.