Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { /* @Get /get/{token}?page={page}&limit={limit} */ GetItem(token int, page int, limit int) (*http.Response, error) /* @Post /upload @Body multipart @Header(Content-Type) {contentType} @Cookie(ga) {cookie} @File(avatar) /var/log/{path} */ UploadItem(path string, contentType string, cookie string, video io.Reader) (*http.Response, error) /* @Put /change/{id} @Body json @Cookie(ga) {cookie} @Result json */ UpdateItem(id int, cookie string, data *time.Time, apiKey string) (result *UploadResult, statusCode int, err error) /* @Post /stat/{id} @SingleBody json */ StatItem(id int, body *StatBody) (*http.Response, error) /* @Post /stat/{id} @SingleBody json */ StatByReader(id int, body io.Reader) (*http.Response, error) /* @Post @Body form @Param(name) {firstName}.Lee */ PostInfo(id int, firstName string) (*http.Request, error) }
@Base {scheme}://box.zjuqsc.com/item @Header(User-Agent) {userAgent} @Cookie(ga) {ga} @Cookie(qsc_session) secure_7y7y1n570y
type UploadResult ¶
type UploadResult struct { }
Click to show internal directories.
Click to hide internal directories.