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

package accesslog

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

Index

Package Files

accesslog.go

type AccessLog Uses

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

AccessLog type

func New Uses

func New(cfg *config.Config) *AccessLog

New returns a new AccessLog

func (*AccessLog) Name Uses

func (a *AccessLog) Name() string

Name return middleware name

func (*AccessLog) ServeDNS Uses

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

ServeDNS implements the Handle interface.

Package accesslog imports 9 packages (graph) and is imported by 1 packages. Updated 2020-10-29. Refresh now. Tools for package owners.