v1

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 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 FileReq

type FileReq struct {
	g.Meta   `path:"/file/{file_name}" method:"get" tags:"open" summary:"文件接口"`
	FileName string `json:"file_name"`
}

文件接口请求参数

type FileRes

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

文件接口响应参数

type SiteConfigReq

type SiteConfigReq struct {
	g.Meta `path:"/site/config" method:"post" tags:"open" summary:"站点配置接口"`
	model.SiteConfigDetailReq
}

站点配置接口请求参数

type SiteConfigRes

type SiteConfigRes struct {
	g.Meta `mime:"application/json" example:"json"`
	*model.SiteConfigDetailRes
}

站点配置接口响应参数

type SysConfigReq

type SysConfigReq struct {
	g.Meta `path:"/sys/config" method:"post" tags:"open" summary:"系统配置接口"`
	model.SysConfigReq
}

系统配置接口请求参数

type SysConfigRes

type SysConfigRes struct {
	g.Meta `mime:"application/json" example:"json"`
	*model.SysConfigRes
}

系统配置接口响应参数

type VideoReq

type VideoReq struct {
	g.Meta   `path:"/video/{file_name}" method:"get" tags:"open" summary:"视频接口"`
	FileName string `json:"file_name"`
}

视频接口请求参数

type VideoRes

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

视频接口响应参数

Jump to

Keyboard shortcuts

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