Documentation ¶
Index ¶
- func CutImage(src image.Image, x, y, w, h int) (image.Image, error)
- func HTTPGet(uri string, timeout int32) ([]byte, error)
- func HTTPGetCustom(uri string, timeout int32, proxyURL string, header http.Header) ([]byte, error)
- func MkDirIfNotExist(path string) error
- func MustInt32(str string) int32
- func OpenImageToBase64(filename string) (string, error)
- func OpenPNG(filename string) (image.Image, error)
- func PostForm(uri string, data url.Values, timeout int32) ([]byte, error)
- func SavePNG(filename string, pic image.Image) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPGetCustom ¶
HTTPGetCustom custom http client
func OpenImageToBase64 ¶
OpenImageToBase64 OpenImageToBase64
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.