Documentation ¶
Index ¶
- func CompressImage(imageData []byte, quality int) []byte
- func FileExist(file string) bool
- func GetPath(params ...interface{}) string
- func GetPathOrCreate(base string, params ...interface{}) (string, error)
- func GetPathWithBase(base string, params ...interface{}) string
- func GetUniqueName(size int, length int) []string
- func Mkdir(base string, names []string) error
- func PathExist(path string) bool
- func ServeJson(writer http.ResponseWriter, code int, data interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompressImage ¶
func GetPathOrCreate ¶
func GetPathWithBase ¶
func GetUniqueName ¶
func ServeJson ¶
func ServeJson(writer http.ResponseWriter, code int, data interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.