package
0.0.0-20241211183440-745de1ae2fee
Repository: https://github.com/mipt-kp-2024-go-beer/user-service.git
Documentation: pkg.go.dev

# Functions

Storage constructor.

# Structs

Storage combines UserDb and TokenDb to provide a unified storage solution for users and tokens.
Token represents an authentication token associated with a user.
TokenDb is a thread-safe structure that stores tokens indexed by their access tokens.
UserDb is a thread-safe structure that stores user information indexed by their login.
UserValues holds the information for a user, including their ID, password, and permissions.