📝 add notes

This commit is contained in:
微凉
2021-02-04 10:02:34 +08:00
parent 3b2a729dc6
commit e146054679
26 changed files with 91 additions and 28 deletions

View File

@ -6,22 +6,22 @@ import (
)
var(
Debug bool
Help bool
Version bool
Con string
Client *http.Client
Authorization string
Debug bool // is debug command
Help bool // is help command
Version bool // is print version command
Con string // config file
Client *http.Client // request client
Authorization string // authorization string
Cache *cache.Cache
Cache *cache.Cache // cache
Origins []string
Origins []string // allow origins
)
var Conf = new(Config)
const (
VERSION="v0.1.6"
VERSION="v0.1.7"
ImageThumbnailProcess="image/resize,w_50"
VideoThumbnailProcess="video/snapshot,t_0,f_jpg,w_50"