mdns

package
v0.0.0-...-ae6eae3 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2016 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Publish

func Publish(rrStr string)

func PublishRR

func PublishRR(rr dns.RR)

Types

type Query

type Query struct {
	Chan <-chan dns.RR
	// contains filtered or unexported fields
}

func NewQuery

func NewQuery(name string, qtype uint16, opts *QueryOpts) *Query

func (*Query) Done

func (q *Query) Done()

func (*Query) OneShot

func (q *Query) OneShot() dns.RR

type QueryOpts

type QueryOpts struct {
	Continuous    bool
	Retries       int
	RetryInterval time.Duration
}

Jump to

Keyboard shortcuts

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