Discover Packages
github.com/CardinalDevLab/Schwi-Backend
def
package
Version:
v0.0.0-...-3d7ecd4
Opens a new window with list of versions in this module.
Published: Aug 22, 2023
License: AGPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Danmu struct {
Time float64 `json:"time"`
Type int `json:"type"`
Color int `json:"color"`
Uid int `json:"uid"`
Text string `json:"text"`
}
type DanmuGet struct {
Time float64 `json:"time"`
Type int `json:"type"`
Color int `json:"color"`
Uid int `json:"uid"`
Text string `json:"text"`
}
type Post struct {
Pid int `json:"pid,omitempty"`
Title string `json:"title"`
Content string `json:"content"`
Sort string `json:"sort"`
Tag string `json:"tag,omitempty"`
Time string `json:"time"`
Uid int `json:"uid,omitempty"`
Username string `json:"username,omitempty"`
}
type User struct {
Recaptcha string `json:"recaptcha,omitempty"`
Uid int `json:"uid,omitempty"`
Username string `json:"username,omitempty"`
Password string `json:"password"`
Email string `json:"email"`
Experience int `json:"experience,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.