Documentation ¶
Index ¶
- func ExecuteURL(blob Blob, url string) string
- func ExistBucket(buckets map[string]string, target string) bool
- func GetExt(fileName string) string
- func GetMD5ByMultipart(file *multipart.FileHeader) (string, error)
- func ReplaceAttr(blob Blob, blobTemplate, subFilePath, dst string) (*bytes.Buffer, error)
- func Scale(in io.Reader, out io.Writer, width, height, quality int) error
- func Split(str string, sep string) (string, string)
- func URLQueryEscape(origin string) string
- type Blob
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExistBucket ¶
ExistBucket ExistBucket
func GetMD5ByMultipart ¶
func GetMD5ByMultipart(file *multipart.FileHeader) (string, error)
GetMD5ByMultipart get file digest value through file stream TODO: change it to sha256
func ReplaceAttr ¶
ReplaceAttr replace label properties.
func URLQueryEscape ¶
URLQueryEscape escapes the original string.
Types ¶
Click to show internal directories.
Click to hide internal directories.