package
Version:
v0.0.0-...-0e87cb9
Opens a new window with list of versions in this module.
Published: Nov 21, 2022
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AlbumDto struct {
ID uint64 `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
ArtistID uint64 `json:"artistId"`
PicID uint64 `json:"picId"`
PicURL string `json:"picUrl"`
}
type ArtistDto struct {
ID uint64 `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Alias []string `json:"alias"`
PicID uint64 `json:"picId"`
PicURL string `json:"picUrl"`
}
type Page struct {
Page int `form:"page" binding:"required,min=1"`
PageSize int `form:"pageSize"`
}
type PlaylistDto struct {
ID uint64 `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Status uint64 `json:"status"`
}
type PlaylistItemDto struct {
PlaylistID uint64 `json:"playlistId"`
SongID uint64 `json:"songId"`
SongIDs []uint64 `json:"songIds"`
UserID uint64 `json:"userId"`
Index uint64 `json:"index"`
}
type SongDto struct {
ID uint64 `json:"id"`
Name string `json:"name"`
Album uint64 `json:"album"`
}
type UserDto struct {
ID uint64 `json:"id"`
Nickname string `json:"nickname"`
Username string `json:"username"`
Password string `json:"password"`
Signature string `json:"signature"`
}
type UserPasswordDto struct {
OldPassword string `json:"oldPassword" binding:"required,min=6,max=20"`
Password string `json:"password" binding:"required,min=6,max=20"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.