connection

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2024 License: CC0-1.0, MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const MaxMessageSize = 4000000

Variables

This section is empty.

Functions

This section is empty.

Types

type C

type C struct {
	Conn net.Conn
	// contains filtered or unexported fields
}

func NewConnection

func NewConnection(c context.T, url string,
	requestHeader http.Header) (connection *C, err error)

func (*C) Close

func (c *C) Close() (err error)

func (*C) ReadMessage

func (c *C) ReadMessage(cx context.T, buf io.Writer) (err error)

func (*C) WriteMessage

func (c *C) WriteMessage(data []byte) (err error)

Jump to

Keyboard shortcuts

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