Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Config *Configuration Version = "v0.4.0" URL = URLProd URLProd = "https://anssl.cn/deploy" URLLocal = "http://localhost:9000/deploy" )
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct {
Server *ServerConfig `yaml:"server"`
SSL *SSLConfig `yaml:"ssl"`
Update *UpdateConfig `yaml:"update"`
Provider []*Provider `yaml:"provider"`
}
Configuration 应用配置结构
type Provider ¶
type Provider struct {
Name string `yaml:"name"`
Remark string `yaml:"remark"`
// 阿里云
AccessKeyId string `yaml:"accessKeyId"`
AccessKeySecret string `yaml:"accessKeySecret"`
// 腾讯云
SecretId string `yaml:"secretId"`
SecretKey string `yaml:"secretKey"`
// 七牛云
AccessKey string `yaml:"accessKey"`
AccessSecret string `yaml:"accessSecret"`
}
type ServerConfig ¶
type UpdateConfig ¶
Click to show internal directories.
Click to hide internal directories.