package
Version:
v0.0.0-...-4080ac7
Opens a new window with list of versions in this module.
Published: May 26, 2025
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AppConfig struct {
Verbose *bool `mapstructure:"verbose" validate:"required"`
Debug *bool `mapstructure:"debug" validate:"required"`
Port string `mapstructure:"port" validate:"required"`
}
Print prints the configuration.
Validate validates the configuration.
type LogConfig struct {
Path string `mapstructure:"path" validate:"required"`
Filename string `mapstructure:"filename" validate:"required"`
Debug *bool `mapstructure:"debug" validate:"required"`
}
type StorageConfig struct {
Type string `mapstructure:"type"`
Timeout int `mapstructure:"timeout"`
MongoURI string `mapstructure:"mongo_uri"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.