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

package chaos

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

Index

Package Files

chaos.go

type Chaos Uses

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

Chaos type

func New Uses

func New(cfg *config.Config) *Chaos

New return accesslist

func (*Chaos) Name Uses

func (c *Chaos) Name() string

Name return middleware name

func (*Chaos) ServeDNS Uses

func (c *Chaos) ServeDNS(ctx context.Context, ch *middleware.Chain)

ServeDNS implements the Handle interface.

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