saddr

package
v0.18.4 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 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 StringAddr

type StringAddr struct {
	// contains filtered or unexported fields
}

StringAddr is a net.Addr backed by a string.

func NewStringAddr

func NewStringAddr(net, addr string) *StringAddr

NewStringAddr constructs a new net.Addr from strings.

func (*StringAddr) Network

func (s *StringAddr) Network() string

func (*StringAddr) String

func (s *StringAddr) String() string

Jump to

Keyboard shortcuts

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