Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Serve ¶
type Serve struct { Host string `yaml:"host"` // 主机地址 Port int `yaml:"port"` // HTTP端口 APIAccess string `yaml:"api_access"` // API接入点 SupportStaff *int64 `yaml:"support_staff"` // 电报客服ID SecretKey string `yaml:"secret_key"` // 验证码密钥 Token string `yaml:"token"` // 机器人token Name string `yaml:"name"` // 资产名称 Symbol string `yaml:"symbol"` // 资产符号 Precision int `yaml:"precision"` // 资产精度 WithdrawFee float64 `yaml:"withdraw_fee"` // 提现手续费 BolTDBPath string `yaml:"boltdb_path"` // BoltDB路径 Languages string `yaml:"languages"` // 语言配置路径 Expire uint32 `yaml:"expire"` // 红包过期时间 MaxMessageLen int `yaml:"max_message_len"` // 最大留言长度 MaxHistoryTextLen int `yaml:"max_history_text_len"` // 历史文本长度 ThumbURL string `yaml:"thumb_url"` // 红包缩略图URL }
服务配置
Click to show internal directories.
Click to hide internal directories.