Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigFile ¶
func GetConfigFile() string
func SetConfigFile ¶
func SetConfigFile(file string)
func SetDecoder ¶
Types ¶
type CommandConfig ¶
type CommandConfig struct { Upload UploadConfig `yaml:"Upload" json:"upload"` Hexo HexoConfig `yaml:"Hexo" json:"hexo"` }
func GetCommandConfig ¶
func GetCommandConfig(ctx context.Context) (*CommandConfig, error)
type HexoConfig ¶
type OSSConfig ¶
type OSSConfig struct { AccessKeyId string `yaml:"AccessKeyId" json:"access_key_id"` AccessKeySecret string `yaml:"AccessKeySecret" json:"access_key_secret"` Endpoint string `yaml:"Endpoint" json:"endpoint"` UrlEndpoint string `yaml:"UrlEndpoint" json:"url_endpoint"` Bucket string `yaml:"Bucket" json:"bucket"` PathPrefix string `yaml:"PathPrefix" json:"path_prefix"` }
type UploadConfig ¶
Click to show internal directories.
Click to hide internal directories.