Documentation ¶
Index ¶
Constants ¶
View Source
const ( MaxPictureSize int64 = 10485760 MaxPictureSizeInfo = "10M" )
Variables ¶
View Source
var Routers = []handler_common.GinHandleFunc{ { Handler: uploadImageHandler, RouterType: handler_common.RouterTypeNormal, Method: "POST", Route: "/upload/image", }, { Handler: loadImageHandler, RouterType: handler_common.RouterTypeNormal, Method: "GET", Route: "/image/:path/:filename", }, }
Functions ¶
func SetLocalFilePath ¶
func SetLocalFilePath(path string)
func SetLocalImageFilePath ¶
func SetLocalImageFilePath(path string)
Types ¶
Click to show internal directories.
Click to hide internal directories.