Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeParam ¶
type ChangeParam struct { NewToken string `type:"form"` Jiami string `type:"form"` OldToken string `type:"form" require:"true"` SecureId string `type:"form" require:"true"` TokenSec string `type:"form"` OldSec string `type:"form"` Expiration int `type:"form" require:"true"` }
change
type ChangeResult ¶
type Service ¶
type Service struct { Upload func(param *UploadParam) (gotten.Response, error) `method:"POST" path:"add_item"` Change func(param *ChangeParam) (gotten.Response, error) `method:"POST" path:"change_item"` Stat func(param *TokenParam) (gotten.Response, error) `path:"issec/{token}"` // resp: YES / NO<SP> Verify func(param *SecParam) (gotten.Response, error) `path:"verify/{token}/{sec_token}"` // resp: Y / N Download func(param *TokenParam) (gotten.Response, error) `path:"get/{token}"` DownloadSec func(param *SecParam) (gotten.Response, error) `path:"get/{token}/{sec_token}"` // fail: html, no Content-Disposition }
type UploadParam ¶
type UploadParam struct { PhpSession string `type:"part" key:"PHP_SESSION_UPLOAD_PROGRESS" default:"qscbox"` Filecount int `type:"part" default:"1"` File gotten.FilePath `type:"part" require:"true"` Callback string `type:"part" default:"handleUploadCallback"` IsIe9 int `type:"part" default:"0"` }
Upload
Click to show internal directories.
Click to hide internal directories.