address

package
v0.0.0-...-bb6d4ad Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Host

type Host []byte

func (Host) String

func (h Host) String() string

type Info

type Info struct {
	Host Host
	Port int
	Type Type
}

func (*Info) String

func (i *Info) String() string

type Type

type Type byte
const (
	TypeIPv4 Type = 0x01
	TypeFQDN Type = 0x03
	TypeIPv6 Type = 0x04
)

func (Type) String

func (t Type) String() string

type Unrecognized

type Unrecognized struct {
	Type Type
}

func (Unrecognized) Error

func (u Unrecognized) Error() string

Jump to

Keyboard shortcuts

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