l4close

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandleClose

type HandleClose struct{}

HandleClose is able to close connections.

func (*HandleClose) CaddyModule

func (*HandleClose) CaddyModule() caddy.ModuleInfo

CaddyModule returns the Caddy module information.

func (*HandleClose) Handle

func (h *HandleClose) Handle(cx *layer4.Connection, _ layer4.Handler) error

Handle handles the connection.

func (*HandleClose) UnmarshalCaddyfile

func (h *HandleClose) UnmarshalCaddyfile(d *caddyfile.Dispenser) error

UnmarshalCaddyfile sets up the HandleClose from Caddyfile tokens. Syntax:

close

Jump to

Keyboard shortcuts

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