Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessLog

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

    AccessLog type

    func New

    func New(cfg *config.Config) *AccessLog

      New returns a new AccessLog

      func (*AccessLog) Name

      func (a *AccessLog) Name() string

        Name return middleware name

        func (*AccessLog) ServeDNS

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

          ServeDNS implements the Handle interface.

          Source Files