socketconn

package
v3.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SocketConn

type SocketConn interface {
	// Reads a packet from the connection, copying the payload into b. It returns number of bytes copied.
	Read(b []byte) (int, error)

	// Closes the connection.
	Close()
}

SocketConn is an interface for socket connection.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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