Discover Packages
github.com/aaronzjc/mu
internal
application
dto
package
Version:
v0.0.0-...-c266f6d
Opens a new window with list of versions in this module.
Published: Mar 24, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Favor struct {
ID int `json:"id"`
UserId int `json:"user_id"`
Site string `json:"site"`
Key string `json:"key"`
OriginUrl string `json:"origin_url"`
Title string `json:"title"`
CreateAt string `json:"create_at"`
}
type FavorList struct {
Tabs []*IndexSite `json:"tabs"`
List []*Favor `json:"list"`
}
type IndexSite struct {
Name string `json:"name"`
Key string `json:"key"`
Tags []Tag `json:"tags"`
}
type News struct {
T string `json:"t"`
List []NewsItem `json:"list"`
}
type Node struct {
ID int `json:"id"`
Name string `json:"name"`
Addr string `json:"addr"`
Type int8 `json:"type"`
Enable int8 `json:"enable"`
Ping int8 `json:"ping"`
CreateAt string `json:"create_at"`
}
type OAuthPlatform struct {
Name string `json:"name"`
Type string `json:"type"`
Url string `json:"url"`
}
type Query struct {
Query string
Args []interface{}
Order string
Limit int
}
type Site struct {
ID int `json:"id"`
Name string `json:"name"`
Key string `json:"key"`
Root string `json:"root"`
Desc string `json:"desc"`
Tags []Tag `json:"tags"`
Type int8 `json:"type"`
Cron string `json:"cron"`
NodeOption int8 `json:"node_option"`
NodeType int8 `json:"node_type"`
NodeHosts []int `json:"node_hosts"`
Enable int8 `json:"enable"`
}
type Tag struct {
Key string `json:"key"`
Name string `json:"name"`
Enable int8 `json:"enable"`
}
type User struct {
ID int `json:"id"`
Username string `json:"username"`
Nickname string `json:"nickname"`
Avatar string `json:"avatar"`
AuthType string `json:"auth_type"`
AuthTime string `json:"auth_time"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.