connection

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: GPL-2.0, MIT Imports: 15 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) (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