package
Version:
v0.0.0-...-8af6e0c
Opens a new window with list of versions in this module.
Published: Dec 20, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type LinkReq struct {
g.Meta `path:"link" method:"get" sm:"查询友链" tags:"app"`
}
type LinkRes struct {
List []entity.Link `json:"list"`
Total uint `json:"total"`
}
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 struct {
g.Meta `path:"reading" method:"get" sm:"查询阅读列表" tags:"app"`
}
type ReadingRes struct {
List []ReadingList `json:"list"`
}
type SayingReq struct {
g.Meta `path:"saying" method:"get" sm:"随机查询一条句子" tags:"app"`
}
type SayingRes struct {
Saying string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.