types

package
v1.6.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPv4

type IPv4 [4]byte

IPv4 is the binary representation for encoding in binary structs.

func (*IPv4) DeepCopyInto added in v1.5.1

func (v4 *IPv4) DeepCopyInto(out *IPv4)

DeepCopyInto is a deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (IPv4) IP

func (v4 IPv4) IP() net.IP

func (IPv4) String

func (v4 IPv4) String() string

type IPv6

type IPv6 [16]byte

IPv6 is the binary representation for encoding in binary structs.

func (*IPv6) DeepCopyInto added in v1.5.1

func (v6 *IPv6) DeepCopyInto(out *IPv6)

DeepCopyInto is a deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (IPv6) IP

func (v6 IPv6) IP() net.IP

func (IPv6) String

func (v6 IPv6) String() string

Jump to

Keyboard shortcuts

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