v1

package
v2.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContentReq

type ContentReq struct {
	g.Meta `path:"/{file_id}/content" tags:"file" method:"get" summary:"Content接口"`
	smodel.FileContentRequest
}

Content接口请求参数

type ContentRes

type ContentRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

Content接口响应参数

type DeleteReq

type DeleteReq struct {
	g.Meta `path:"/{file_id}" tags:"file" method:"delete" summary:"Delete接口"`
	smodel.FileDeleteRequest
}

Delete接口请求参数

type DeleteRes

type DeleteRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

Delete接口响应参数

type ListReq

type ListReq struct {
	g.Meta `path:"/" tags:"file" method:"get" summary:"List接口"`
	smodel.FileListRequest
}

List接口请求参数

type ListRes

type ListRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

List接口响应参数

type RetrieveReq

type RetrieveReq struct {
	g.Meta `path:"/{file_id}" tags:"file" method:"get" summary:"Retrieve接口"`
	smodel.FileRetrieveRequest
}

Retrieve接口请求参数

type RetrieveRes

type RetrieveRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

Retrieve接口响应参数

type UploadReq

type UploadReq struct {
	g.Meta   `path:"/" tags:"file" method:"post" summary:"Upload接口"`
	Provider string `json:"provider"`
	smodel.FileUploadRequest
}

Upload接口请求参数

type UploadRes

type UploadRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

Upload接口响应参数

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL