Documentation
¶
Index ¶
- func DownloadImage(url string, scale string, path string) (string, error)
- func Mail(to []string, title string, content string) error
- func OptimizeImage(path string, scale string) (string, error)
- func SaveImage(file File, scale string, path string) (string, error)
- func WxDecrypt(data []byte, platformKey string) ([]byte, error)
- func WxEncrypt(data []byte, platformKey, platformAppid string) ([]byte, error)
- func WxSign(timestamp, nonce, encrypt, token string) string
- type File
- type Graphql
- type WxAPI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadImage ¶
DownloadImage download image with a specific scale, depend on ffmpeg
func OptimizeImage ¶
OptimizeImage make image limited in a specific scaling
Types ¶
Click to show internal directories.
Click to hide internal directories.