tcp

package
v0.0.0-...-012d1c6 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() anet.Tran

Types

type Tran

type Tran struct {
	base.Tran
}

Tran tcp Transport

func (*Tran) Dial

func (t *Tran) Dial(addr string, opts ...anet.DialOption) (anet.Conn, error)

func (*Tran) Listen

func (t *Tran) Listen(addr string, opts ...anet.ListenOption) (anet.Listener, error)

func (*Tran) NewConn

func (t *Tran) NewConn(client bool, tag string) anet.Conn

func (*Tran) String

func (t *Tran) String() string

Jump to

Keyboard shortcuts

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