feat: update
This commit is contained in:
@@ -8,15 +8,17 @@ import (
|
||||
var C *Config
|
||||
|
||||
type Config struct {
|
||||
Phone string `mapstructure:"phone"`
|
||||
AppID int `mapstructure:"app_id"`
|
||||
AppHash string `mapstructure:"app_hash"`
|
||||
BotToken string `mapstructure:"bot_token"`
|
||||
SessionFile string `mapstructure:"session_file"`
|
||||
LogFile string `mapstructure:"log_file"`
|
||||
MaxSize string `mapstructure:"max_size"`
|
||||
DSN string `mapstructure:"dsn"`
|
||||
Output string `mapstructure:"output"`
|
||||
Phone string `mapstructure:"phone"`
|
||||
AppID int `mapstructure:"app_id"`
|
||||
AppHash string `mapstructure:"app_hash"`
|
||||
BotToken string `mapstructure:"bot_token"`
|
||||
SessionFile string `mapstructure:"session_file"`
|
||||
LogFile string `mapstructure:"log_file"`
|
||||
MaxSize string `mapstructure:"max_size"`
|
||||
DSN string `mapstructure:"dsn"`
|
||||
Output string `mapstructure:"output"`
|
||||
PublishHost string `mapstructure:"publish_host"`
|
||||
PublishToken string `mapstructure:"publish_token"`
|
||||
}
|
||||
|
||||
// GetMaxSize
|
||||
|
||||
Reference in New Issue
Block a user