Help us shape the future of Go! Take the 2026 Go Developer Survey

saddr

package
v0.57.13 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2026 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

Network returns the network name.

func (*StringAddr) String

func (s *StringAddr) String() string

String returns the address string.

Jump to

Keyboard shortcuts

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