context

package module
v0.0.0-...-9d55ade Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DNSTypeHost   = "host"
	DNSTypeFakeIP = "fakeip"
	DNSTypeRaw    = "raw"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSContext

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

func NewDNSContext

func NewDNSContext(msg *dns.Msg) *DNSContext

func (*DNSContext) ID

func (c *DNSContext) ID() uuid.UUID

ID implement C.PlainContext ID

func (*DNSContext) SetType

func (c *DNSContext) SetType(tp string)

SetType set type of response

func (*DNSContext) Type

func (c *DNSContext) Type() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL