Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StoreConfig ¶
Types ¶
type Config ¶
type Config struct { Plat string `json:"plat"` Cfg GithubConfig `json:"cfg"` }
func LoadConfig ¶
type GithubConfig ¶
type UploadResp ¶
type UploadResp struct { Success bool `json:"success"` Msg string `json:"msg"` Url string `json:"url"` }
func ToUploadFail ¶
func ToUploadFail(err error) UploadResp
func Upload ¶
func Upload(config *Config, content string) UploadResp
Upload assets, the content is base64 encoded
Click to show internal directories.
Click to hide internal directories.