accesslist

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type List added in v1.6.4

type List struct {
	// contains filtered or unexported fields
}

List type.

func New

func New(cfg *config.Config) *List

New return accesslist.

func (*List) ClientOnly added in v1.6.4

func (a *List) ClientOnly() bool

(*List).ClientOnly marks access-list enforcement as client-traffic-only; middleware.Setup excludes it from internal sub-pipelines so an internal sub-query isn't denied by a source-IP rule that doesn't apply to internal traffic.

func (*List) Name added in v1.6.4

func (a *List) Name() string

(*List).Name name return middleware name.

func (*List) ServeDNS added in v1.6.4

func (a *List) ServeDNS(ctx context.Context, ch *middleware.Chain)

(*List).ServeDNS serveDNS implements the Handle interface.

Jump to

Keyboard shortcuts

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