connection

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: CC0-1.0, MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

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) (*C, 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