l4xmpp

package
v0.0.0-...-ec8fae2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MatchXMPP

type MatchXMPP struct{}

MatchXMPP is able to match XMPP connections.

func (*MatchXMPP) CaddyModule

func (*MatchXMPP) CaddyModule() caddy.ModuleInfo

CaddyModule returns the Caddy module information.

func (*MatchXMPP) Match

func (m *MatchXMPP) Match(cx *layer4.Connection) (bool, error)

Match returns true if the connection looks like XMPP.

func (*MatchXMPP) UnmarshalCaddyfile

func (m *MatchXMPP) UnmarshalCaddyfile(d *caddyfile.Dispenser) error

UnmarshalCaddyfile sets up the MatchXMPP from Caddyfile tokens. Syntax:

xmpp

Jump to

Keyboard shortcuts

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