app

package
v0.0.0-...-8af6e0c Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LinkReq

type LinkReq struct {
	g.Meta `path:"link" method:"get" sm:"查询友链" tags:"app"`
}

type LinkRes

type LinkRes struct {
	List  []entity.Link `json:"list"`
	Total uint          `json:"total"`
}

type ReadingList

type ReadingList struct {
	Id         uint   `json:"id"`
	Name       string `json:"name" sm:"书名"`
	Author     string `json:"author" sm:"作者"`
	Status     uint   `json:"status" sm:"状态 1弃读 2完结 9在读"`
	FinishedAt string `json:"finished_at" sm:"完结时间"`
}

type ReadingReq

type ReadingReq struct {
	g.Meta `path:"reading" method:"get" sm:"查询阅读列表" tags:"app"`
}

type ReadingRes

type ReadingRes struct {
	List []ReadingList `json:"list"`
}

type SayingReq

type SayingReq struct {
	g.Meta `path:"saying" method:"get" sm:"随机查询一条句子" tags:"app"`
}

type SayingRes

type SayingRes struct {
	Saying string
}

Jump to

Keyboard shortcuts

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