accesslist

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessList

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

AccessList type

func New

func New(cfg *config.Config) *AccessList

New return accesslist

func (*AccessList) Name

func (a *AccessList) Name() string

Name return middleware name

func (*AccessList) ServeDNS

func (a *AccessList) ServeDNS(ctx context.Context, dc *ctx.Context)

ServeDNS implements the Handle interface.

Jump to

Keyboard shortcuts

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