csnet

package
v1.7.4-rc2 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 License: MIT Imports: 3 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WrapSockErr

func WrapSockErr(err error, socket string) error

WrapSockErr wraps the provided error with a possible cause if the unix socket path exceeds a system-specific maximum length. It returns the original error otherwise.

Types

type IP added in v1.6.10

type IP struct {
	Addr int64
	Sfx  int64
	// contains filtered or unexported fields
}

type IPAddrSize added in v1.6.10

type IPAddrSize int
const (
	IPv4Size IPAddrSize = 4
	IPv6Size IPAddrSize = 16
)

type Range added in v1.6.10

type Range struct {
	Start IP
	End   IP
}

func NewRange added in v1.6.10

func NewRange(anyIP string) (Range, error)

func (Range) Size added in v1.6.10

func (r Range) Size() int

Jump to

Keyboard shortcuts

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