pkg/

directory
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: BSD-3-Clause

Directories

Path Synopsis
Package chain provides blockchain chain ID helpers and validation utilities.
Package chain provides blockchain chain ID helpers and validation utilities.
Package config provides a tiny loader that populates a configuration struct from multiple sources with clear precedence:
Package config provides a tiny loader that populates a configuration struct from multiple sources with clear precedence:
Package entities defines shared domain types for P2P messaging and dynamic configuration.
Package entities defines shared domain types for P2P messaging and dynamic configuration.
Package hash provides SHA-256 and xxHash helpers for message and content hashing.
Package hash provides SHA-256 and xxHash helpers for message and content hashing.
Package identity manages libp2p node identity keys on disk.
Package identity manages libp2p node identity keys on disk.
Package io provides atomic file I/O and rotating file writer utilities.
Package io provides atomic file I/O and rotating file writer utilities.
Package jwks implements a JWKS cache with disk fallback and background refresh.
Package jwks implements a JWKS cache with disk fallback and background refresh.
Package logger defines the structured AppLogger interface and slog-backed helpers.
Package logger defines the structured AppLogger interface and slog-backed helpers.
Package maps provides generic map utility functions.
Package maps provides generic map utility functions.
Package math provides safe integer conversions with overflow protection.
Package math provides safe integer conversions with overflow protection.
Package net provides external IP detection, multiaddr builders, and HTTP client helpers.
Package net provides external IP detection, multiaddr builders, and HTTP client helpers.
Package pointers provides generic pointer conversion helpers.
Package pointers provides generic pointer conversion helpers.
Package rand provides cryptographic random byte and integer utilities.
Package rand provides cryptographic random byte and integer utilities.
Package slices provides generic slice operations such as unique, filter, chunk, and flatten.
Package slices provides generic slice operations such as unique, filter, chunk, and flatten.
Package sql provides bulk insert and upsert SQL query builders with retry helpers.
Package sql provides bulk insert and upsert SQL query builders with retry helpers.
Package syncx provides concurrency primitives including TTL maps, RW maps, broadcasters, and balancers.
Package syncx provides concurrency primitives including TTL maps, RW maps, broadcasters, and balancers.
Package telemetry provides geolocation lookup and Prometheus metric registry helpers.
Package telemetry provides geolocation lookup and Prometheus metric registry helpers.
Package test_utils provides shared test helpers and fixtures for Optimum services.
Package test_utils provides shared test helpers and fixtures for Optimum services.
Package version exposes build version and commit metadata injected at compile time.
Package version exposes build version and commit metadata injected at compile time.

Jump to

Keyboard shortcuts

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