dokodemo

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Door

type Door struct {
	DoorSettings
}

func New

func New(settings DoorSettings) *Door

Init initializes the Door instance with necessary parameters.

func (*Door) Network

func (d *Door) Network() []net.Network

func (*Door) Process

func (d *Door) Process(ctx context.Context, conn net.Conn) error

type DoorSettings

type DoorSettings struct {
	Address  net.Address
	Port     net.Port
	Networks []net.Network
	Handler  i.Handler
}

Jump to

Keyboard shortcuts

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