util/

directory
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT

Directories

Path Synopsis
asn
Package cid implements the Content-IDentifiers specification (https://github.com/ipld/cid) in Go.
Package cid implements the Content-IDentifiers specification (https://github.com/ipld/cid) in Go.
Package cidranger provides utility to store CIDR blocks and perform ip inclusion tests against it.
Package cidranger provides utility to store CIDR blocks and perform ip inclusion tests against it.
net
Package net provides utility functions for working with IPs (net.IP).
Package net provides utility functions for working with IPs (net.IP).
pb
Package kbucket implements a kademlia 'k-bucket' routing table.
Package kbucket implements a kademlia 'k-bucket' routing table.
pbio
Package pbio reads and writes varint-prefix protobufs, using Google's Protobuf package.
Package pbio reads and writes varint-prefix protobufs, using Google's Protobuf package.
protoio
Adapted from gogo/protobuf to use multiformats/go-varint for efficient, interoperable length-prefixing.
Adapted from gogo/protobuf to use multiformats/go-varint for efficient, interoperable length-prefixing.
Package nat implements NAT handling facilities
Package nat implements NAT handling facilities
Originally found in https://github.com/google/gopacket/blob/master/routing/routing.go
Originally found in https://github.com/google/gopacket/blob/master/routing/routing.go
Package path contains utilities to work with dep2p paths.
Package path contains utilities to work with dep2p paths.
Package pool provides a sync.Pool equivalent that buckets incoming requests to one of 32 sub-pools, one for each power of 2, 0-32.
Package pool provides a sync.Pool equivalent that buckets incoming requests to one of 32 sub-pools, one for each power of 2, 0-32.
pb
Package reuseport provides Listen and Dial functions that set socket options in order to be able to reuse ports.
Package reuseport provides Listen and Dial functions that set socket options in order to be able to reuse ports.
tracing
tracing provides high level method tracing for the [routing.Routing] API.
tracing provides high level method tracing for the [routing.Routing] API.
This package use build tags to select between github.com/minio/sha256-simd for go1.20 and bellow and crypto/sha256 for go1.21 and above.
This package use build tags to select between github.com/minio/sha256-simd for go1.20 and bellow and crypto/sha256 for go1.21 and above.
xor
kademlia
Package kademlia provides Kademlia routing-related facilities.
Package kademlia provides Kademlia routing-related facilities.
key

Jump to

Keyboard shortcuts

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