types

package
v0.0.0-...-1a29ab9 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 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 HardwareAddr

type HardwareAddr net.HardwareAddr

HardwareAddr is net.HardwareAddr with the implementation of the Valuer and Scanner interface.

func ParseMAC

func ParseMAC(s string) (*HardwareAddr, error)

ParseMAC is

func (*HardwareAddr) Scan

func (h *HardwareAddr) Scan(src interface{}) error

Scan implements the database/sql Scanner interface.

func (HardwareAddr) String

func (h HardwareAddr) String() string

func (HardwareAddr) Value

func (h HardwareAddr) Value() (driver.Value, error)

Value implements the database/sql/driver Valuer interface.

type IP

type IP net.IP

IP is net.IP with the implementation of the Valuer and Scanner interface.

func ParseIP

func ParseIP(s string) (*IP, error)

ParseIP is

func (IP) MarshalYAML

func (i IP) MarshalYAML() (interface{}, error)

MarshalYAML is

func (*IP) Scan

func (i *IP) Scan(src interface{}) error

Scan implements the database/sql Scanner interface.

func (IP) String

func (i IP) String() string

func (*IP) UnmarshalYAML

func (i *IP) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML is

func (IP) Value

func (i IP) Value() (driver.Value, error)

Value implements the database/sql/driver Valuer interface.

type IPMask

type IPMask net.IPMask

IPMask is net.IPMask with the implementation of the Valuer and Scanner interface.

func ParseIPMask

func ParseIPMask(s string) (*IPMask, error)

ParseIPMask is

func (IPMask) MarshalYAML

func (i IPMask) MarshalYAML() (interface{}, error)

MarshalYAML is

func (*IPMask) Scan

func (i *IPMask) Scan(src interface{}) error

Scan implements the database/sql Scanner interface.

func (IPMask) String

func (i IPMask) String() string

func (*IPMask) UnmarshalYAML

func (i *IPMask) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML is

func (IPMask) Value

func (i IPMask) Value() (driver.Value, error)

Value implements the database/sql/driver Valuer interface.

type IPNet

type IPNet net.IPNet

IPNet is net.IPNet with the implementation of the Valuer and Scanner interface.

func ParseCIDR

func ParseCIDR(s string) (*IPNet, error)

ParseCIDR is

func (*IPNet) Scan

func (i *IPNet) Scan(src interface{}) error

Scan implements the database/sql Scanner interface.

func (*IPNet) String

func (i *IPNet) String() string

func (IPNet) Value

func (i IPNet) Value() (driver.Value, error)

Value implements the database/sql/driver Valuer interface.

Jump to

Keyboard shortcuts

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