Categorygithub.com/abmpio/libx
modulepackage
0.0.0-20241029040836-37d1161ba509
Repository: https://github.com/abmpio/libx.git
Documentation: pkg.go.dev

# README

libx

this project extract most code file from consul

# Packages

Package decode provides tools for customizing the decoding of configuration, into structures using mapstructure.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package reflector provides utilities for reflection.
No description provided by the author
Package str provides enhanced string utilities.
No description provided by the author
Package ttlcache provides an ExpiryHeap that can be used by a cache to track the expiration time of its extries.

# Functions

EnsurePath is used to make sure a path exists.
IsErrEOF returns true if we get an EOF error from the socket itself, or an EOF equivalent error from yamux.
SeedMathRand provides weak, but guaranteed seeding, which is better than running with Go's default seed of 1.

# Variables

SeededSecurely is set to true if a cryptographically secure seed was used to initialized rand.