Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DBUrl string `mapstructure:"DATABASE_URL"` VideoDir string `mapstructure:"VIDEO_DIR"` HTTPServerAddress string `mapstructure:"HTTP_SERVER_ADDRESS"` MigrationURL string `mapstructure:"MIGRATION_URL"` TokenSecretKey string `mapstructure:"TOKEN_SECRET_KEY"` AccessTokenDuration time.Duration `mapstructure:"ACCESS_TOKEN_DURATION"` RefreshTokenDuration time.Duration `mapstructure:"REFRESH_TOKEN_DURATION"` }
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.