contextAwareConn

package
v0.0.0-...-632c06c Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextAwareConn

type ContextAwareConn struct {
	// contains filtered or unexported fields
}

func NewContextAwareConn

func NewContextAwareConn(conn net.Conn, ctx context.Context) *ContextAwareConn

func (ContextAwareConn) Close

func (c ContextAwareConn) Close() error

func (ContextAwareConn) LocalAddr

func (c ContextAwareConn) LocalAddr() net.Addr

func (ContextAwareConn) Read

func (c ContextAwareConn) Read(b []byte) (n int, err error)

func (ContextAwareConn) RemoteAddr

func (c ContextAwareConn) RemoteAddr() net.Addr

func (ContextAwareConn) SetDeadline

func (c ContextAwareConn) SetDeadline(t time.Time) error

func (ContextAwareConn) SetReadDeadline

func (c ContextAwareConn) SetReadDeadline(t time.Time) error

func (ContextAwareConn) SetWriteDeadline

func (c ContextAwareConn) SetWriteDeadline(t time.Time) error

func (ContextAwareConn) Write

func (c ContextAwareConn) Write(b []byte) (n int, err error)

Jump to

Keyboard shortcuts

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