sdns: github.com/semihalev/sdns/middleware/accesslist Index | Files

package accesslist

import "github.com/semihalev/sdns/middleware/accesslist"

Index

Package Files

accesslist.go

type AccessList Uses

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

AccessList type

func New Uses

func New(cfg *config.Config) *AccessList

New return accesslist

func (*AccessList) Name Uses

func (a *AccessList) Name() string

Name return middleware name

func (*AccessList) ServeDNS Uses

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

ServeDNS implements the Handle interface.

Package accesslist imports 6 packages (graph) and is imported by 1 packages. Updated 2020-09-13. Refresh now. Tools for package owners.