Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Server ServerConfig Database DatabaseConfig Logger LoggerConfig }
Configuration - server and db configuration variables
type DatabaseConfig ¶
type DatabaseConfig struct { DbDriver string DbUser string DbPass string DbName string DbHost string DbPort string DbSslmode string DbTimeZone string DbMaxIdleConns int DbMaxOpenConns int DbConnMaxLifetime time.Duration DbLogLevel int }
DatabaseConfig - database variables
type ServerConfig ¶
type ServerConfig struct { ServerPort string // public port of server ServerEnv string ServerJWT struct { AccessKey string RefreshKey string AccessKeyTTL int RefreshKeyTTL int } ServerHashPass struct { Memory uint32 Iterations uint32 Parallelism uint8 SaltLength uint32 KeyLength uint32 } ServerTrustedIP string }
ServerConfig ...
Click to show internal directories.
Click to hide internal directories.