address

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address []byte

func ParseAddress

func ParseAddress(addr string, b []byte) (Address, error)

func ParseAddressFromBuffer

func ParseAddressFromBuffer(b []byte) (Address, error)

func ParseAddressFromHostPort

func ParseAddressFromHostPort(host string, port int, b []byte) (Address, error)

func ParseAddressFromReader

func ParseAddressFromReader(r io.Reader, b []byte) (Address, error)

func (Address) Host

func (a Address) Host() string

func (Address) Port

func (a Address) Port() int

func (Address) String

func (a Address) String() string

Jump to

Keyboard shortcuts

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