sing

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const UDPTimeout = 5 * time.Minute

Variables

This section is empty.

Functions

This section is empty.

Types

type ListenerHandler

type ListenerHandler struct {
	TcpIn chan<- constant.ConnContext
	UdpIn chan<- *inbound.PacketAdapter
	Type  constant.Type
}

func (*ListenerHandler) NewConnection

func (h *ListenerHandler) NewConnection(ctx context.Context, conn net.Conn, metadata M.Metadata) error

func (*ListenerHandler) NewError

func (h *ListenerHandler) NewError(ctx context.Context, err error)

func (*ListenerHandler) NewPacketConnection

func (h *ListenerHandler) NewPacketConnection(ctx context.Context, conn network.PacketConn, metadata M.Metadata) error

Jump to

Keyboard shortcuts

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