saddr

package
v0.17.3 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 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