Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultPath = "./configs/config.yml"
DefaultPath default configuration path.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Port string `yaml:"port"` Model string `yaml:"model"` MaxSize int64 `yaml:"maxSize"` Log logger.Config `yaml:"log"` Mysql mysql2.Config `yaml:"mysql"` Redis redis2.Config `yaml:"redis"` Storage Storage `yaml:"storage"` Blob Blob `yaml:"blob"` Buckets map[string]string `yaml:"buckets"` }
Config configuration file.
var Conf *Config
Conf configuration file.
Click to show internal directories.
Click to hide internal directories.