Documentation ¶
Index ¶
- type Host
- type NetAddress
- func (this NetAddress) Get() net.Addr
- func (this NetAddress) IsEqualTo(other any) bool
- func (this NetAddress) IsZero() bool
- func (this NetAddress) Listen() (net.Listener, error)
- func (this NetAddress) MarshalText() (text []byte, err error)
- func (this *NetAddress) Set(text string) error
- func (this NetAddress) String() string
- func (this *NetAddress) UnmarshalText(text []byte) error
- type NetAddresses
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetAddress ¶
type NetAddress struct {
// contains filtered or unexported fields
}
func MustNewNetAddress ¶
func MustNewNetAddress(plain string) NetAddress
func NewNetAddress ¶
func NewNetAddress(plain string) (NetAddress, error)
func (NetAddress) Get ¶
func (this NetAddress) Get() net.Addr
func (NetAddress) IsEqualTo ¶
func (this NetAddress) IsEqualTo(other any) bool
func (NetAddress) IsZero ¶
func (this NetAddress) IsZero() bool
func (NetAddress) MarshalText ¶
func (this NetAddress) MarshalText() (text []byte, err error)
func (*NetAddress) Set ¶
func (this *NetAddress) Set(text string) error
func (NetAddress) String ¶
func (this NetAddress) String() string
func (*NetAddress) UnmarshalText ¶
func (this *NetAddress) UnmarshalText(text []byte) error
type NetAddresses ¶
type NetAddresses []NetAddress
func (NetAddresses) IsEqualTo ¶
func (this NetAddresses) IsEqualTo(other any) bool
func (*NetAddresses) Trim ¶
func (this *NetAddresses) Trim() error
func (*NetAddresses) Validate ¶
func (this *NetAddresses) Validate() error
Click to show internal directories.
Click to hide internal directories.