Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { HTTPServerHost string `mapstructure:"HTTP_SERVER_HOST"` HTTPServerPort string `mapstructure:"HTTP_SERVER_PORT"` FrondendURL string `mapstructure:"FRONDEND_URL"` MongoDBURL string `mapstructure:"MONGODB_URL"` DatabaseName string `mapstructure:"DATABASE_NAME"` AccountCollectionName string `mapstructure:"ACCOUNT_COLLECTION_NAME"` SymmectricTokenKey string `mapstructure:"SYMMETRIC_TOKEN_KEY"` AccessTokenDuration time.Duration `mapstructure:"ACCESS_TOKEN_DURATION"` }
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.