Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { DBHost string DBPort int DBUsername string DBPassword string DBName string Port int RefreshTokenExpiresIn time.Duration TokenExpiresIn time.Duration TokenAge string TokenSecret string PrivKey string PubKey string }
func LoadConfig ¶
LoadConfig retrieves configuration from environment variables
Click to show internal directories.
Click to hide internal directories.