package
Version:
v0.0.0-...-a32abf6
Opens a new window with list of versions in this module.
Published: Jan 3, 2024
License: Unlicense
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Authorization struct {
ExpireHour int `yaml:"expireHour"`
}
type Conf struct {
Host string `yaml:"host"`
Rtmp string `yaml:"rtmp"`
Port string `yaml:"port"`
DB DB `yaml:"db"`
Oss Oss `yaml:"oss"`
Authorization Authorization `yaml:"authorization"`
Level string `yaml:"level"`
ResetPassword string `yaml:"resetPassword"`
File File `yaml:"file"`
}
type DB struct {
Mysql Mysql `yaml:"mysql"`
Redis Redis `yaml:"redis"`
}
type File struct {
Path string `yaml:"path"`
}
type Mysql struct {
Host string `yaml:"host"`
Port string `yaml:"port"`
DataBase string `yaml:"dataBase"`
Username string `yaml:"username"`
Password string `yaml:"password"`
LogMode string `yaml:"logMode"`
Config string `yaml:"config"`
TablePrefix string `yaml:"tablePrefix"`
}
type Oss struct {
AccessKey string `yaml:"accessKey"`
SecretKey string `yaml:"secretKey"`
Domain string `yaml:"domain"`
AdminBuket string `yaml:"adminBuket"`
}
type Redis struct {
Host string `yaml:"host"`
Port int `yaml:"port"`
DataBase int `yaml:"dataBase"`
Password string `yaml:"password"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.