package
1.2.2
Repository: https://github.com/memnix/memnix-rest.git
Documentation: pkg.go.dev

# Functions

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
LoadConfig loads the configuration from a file.

# Constants

CacheExpireTime is the expiration time for the cache.
ExpirationTimeInHours is the expiration time for the JWT token.
GCLimit is the limit for garbage collection.
GCThresholdPercent is the threshold for garbage collection.
MaxPasswordLength is the max password length.
MB is the number of bytes in a megabyte.
MinPasswordLength is the min password length.
OauthStateLength is the length of the state for oauth.
RedisDefaultExpireTime is the default expiration time for keys.
RistrettoBufferItems is the number of items per get buffer.
RistrettoMaxCost is the maximum cost.
RistrettoNumCounters is the number of counters.
SentryFlushTimeout is the timeout for flushing sentry.
SQLMaxIdleConns is the max number of connections in the idle connection pool.
SQLMaxOpenConns is the max number of connections in the open connection pool.

# Structs

AuthConfig holds the configuration for the authentication.
Config holds the configuration for the application.
DatabaseConfig holds the configuration for the database.
No description provided by the author
No description provided by the author
LogConfig holds the configuration for the logger.
PasswordConfigStruct is the struct for the password config.
RedisConfig holds the configuration for the redis client.
SentryConfig holds the configuration for the sentry client.
ServerConfig holds the configuration for the server.