Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
pkg
|
|
|
chain
Package chain provides blockchain chain ID helpers and validation utilities.
|
Package chain provides blockchain chain ID helpers and validation utilities. |
|
config
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: |
|
entities
Package entities defines shared domain types for P2P messaging and dynamic configuration.
|
Package entities defines shared domain types for P2P messaging and dynamic configuration. |
|
hash
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. |
|
identity
Package identity manages libp2p node identity keys on disk.
|
Package identity manages libp2p node identity keys on disk. |
|
io
Package io provides atomic file I/O and rotating file writer utilities.
|
Package io provides atomic file I/O and rotating file writer utilities. |
|
jwks
Package jwks implements a JWKS cache with disk fallback and background refresh.
|
Package jwks implements a JWKS cache with disk fallback and background refresh. |
|
logger
Package logger defines the structured AppLogger interface and slog-backed helpers.
|
Package logger defines the structured AppLogger interface and slog-backed helpers. |
|
maps
Package maps provides generic map utility functions.
|
Package maps provides generic map utility functions. |
|
math
Package math provides safe integer conversions with overflow protection.
|
Package math provides safe integer conversions with overflow protection. |
|
net
Package net provides external IP detection, multiaddr builders, and HTTP client helpers.
|
Package net provides external IP detection, multiaddr builders, and HTTP client helpers. |
|
pointers
Package pointers provides generic pointer conversion helpers.
|
Package pointers provides generic pointer conversion helpers. |
|
rand
Package rand provides cryptographic random byte and integer utilities.
|
Package rand provides cryptographic random byte and integer utilities. |
|
slices
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. |
|
sql
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. |
|
syncx
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. |
|
telemetry
Package telemetry provides geolocation lookup and Prometheus metric registry helpers.
|
Package telemetry provides geolocation lookup and Prometheus metric registry helpers. |
|
test_utils
Package test_utils provides shared test helpers and fixtures for Optimum services.
|
Package test_utils provides shared test helpers and fixtures for Optimum services. |
|
version
Package version exposes build version and commit metadata injected at compile time.
|
Package version exposes build version and commit metadata injected at compile time. |
Click to show internal directories.
Click to hide internal directories.