listener

package
v0.0.0-...-cf3d0f9 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Listener

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

func NewListener

func NewListener() *Listener

func (*Listener) Accept

func (l *Listener) Accept() (net.Conn, error)

func (*Listener) Addr

func (*Listener) Addr() net.Addr

func (*Listener) Close

func (l *Listener) Close() error

func (*Listener) DialContext

func (l *Listener) DialContext(context.Context, string, string) (net.Conn, error)

func (*Listener) Enqueue

func (l *Listener) Enqueue(c net.Conn)

Jump to

Keyboard shortcuts

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