l4postgres

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package l4postgres allows the L4 multiplexing of Postgres connections

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MatchPostgres

type MatchPostgres struct{}

MatchPostgres is able to match Postgres connections.

func (*MatchPostgres) CaddyModule

func (*MatchPostgres) CaddyModule() caddy.ModuleInfo

CaddyModule returns the Caddy module information.

func (*MatchPostgres) Match

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

Match returns true if the connection looks like the Postgres protocol.

func (*MatchPostgres) Provision

func (m *MatchPostgres) Provision(ctx caddy.Context) error

func (*MatchPostgres) UnmarshalCaddyfile

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

UnmarshalCaddyfile sets up the matcher from Caddyfile tokens.

Jump to

Keyboard shortcuts

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