Documentation ¶
Index ¶
- Constants
- func SaveImage(dataBuff *bytes.Buffer, cntType string, OrgFileName string, ...) (error, string)
- func Upload(ctx iris.Context)
- func UserJoin(ctx iris.Context)
- func UserLogin(ctx iris.Context)
- func UserProfile(ctx iris.Context)
- func UserTool(tool int, ctx iris.Context)
- func ViewImageInfo(ctx iris.Context)
- func ViewedExpressions(mode string, ctx iris.Context)
- func ViewedImages(mode string, ctx iris.Context)
- type API_ArtInfo
- type API_Category
- type API_Expression
- type HomePage
- type JsonError
- type UploadResult
Constants ¶
View Source
const ( CREATE_USER = 0x1 LOGIN_USER = 0x2 LOGOUT_USER = 0x3 )
Variables ¶
This section is empty.
Functions ¶
func UserProfile ¶
func ViewImageInfo ¶
func ViewedExpressions ¶
func ViewedImages ¶
Types ¶
type API_ArtInfo ¶
type API_Category ¶
type API_Expression ¶
type API_Expression struct { Expression string `json:"expression"` Categories []API_Category `json:"categories,omitempty"` Usage int `json:"usage"` ID string `json:"id"` }
type UploadResult ¶
type UploadResult struct {
ID string `json:"id,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.