type Chaos struct { // contains filtered or unexported fields }
Chaos type
func New(cfg *config.Config) *Chaos
New return accesslist
func (c *Chaos) Name() string
Name return middleware name
func (c *Chaos) ServeDNS(ctx context.Context, ch *middleware.Chain)
ServeDNS implements the Handle interface.