package
0.0.0-20241212113139-b33382ac20e2
Repository: https://github.com/webitel/storage.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
CustomSize returns a human-readable approximation of a size using custom format.
FindDir looks for the given directory in nearby ancestors relative to the current working directory as well as the directory of the executable, falling back to `./` if not found.
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
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
New creates an LRU of the given size.
No description provided by the author
NewSecureReader returns a Reader that reads from r but stops with EOF after n bytes.
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
this functions loads translations from filesystem and assign english while loading server config.
# Constants
No description provided by the author
No description provided by the author
See: http://en.wikipedia.org/wiki/Binary_prefix.
See: http://en.wikipedia.org/wiki/Binary_prefix.
No description provided by the author
See: http://en.wikipedia.org/wiki/Binary_prefix.
See: http://en.wikipedia.org/wiki/Binary_prefix.
See: http://en.wikipedia.org/wiki/Binary_prefix.
See: http://en.wikipedia.org/wiki/Binary_prefix.
See: http://en.wikipedia.org/wiki/Binary_prefix.
See: http://en.wikipedia.org/wiki/Binary_prefix.
No description provided by the author
See: http://en.wikipedia.org/wiki/Binary_prefix.
No description provided by the author
See: http://en.wikipedia.org/wiki/Binary_prefix.
# Variables
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
# Structs
No description provided by the author
Cache is a thread-safe fixed size LRU cache.
No description provided by the author
No description provided by the author
No description provided by the author
A NewSecureReader reads from R but limits the amount of data returned to just N bytes.
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
Caching Interface.