Documentation
¶
Index ¶
- Variables
- func GetCosBDV2DataPath(uid int) string
- func GetPost(uid int, offset int) (postList []model.DatabasePost, err error)
- func GetPostCnt(uid int) (postCnt int, err error)
- func LevelItemHandler(name string) (item sonolusgo.Level, description string, err error)
- func LevelListHandler(page int, queryMap map[string]string) (pageCount int, items []sonolusgo.Level)
- func LevelSearchHandler() (search sonolusgo.Search)
- func SavePost(post model.UploadPost) (uid int, err error, myError *errors.TestServerError)
Constants ¶
This section is empty.
Variables ¶
View Source
var LevelHandlers = sonolusgo.SonolusHandlers[sonolusgo.Level]{ List: LevelListHandler, Search: LevelSearchHandler, Item: LevelItemHandler, Recommend: sonolusgo.GetEmptyRecommend[sonolusgo.Level], }
Functions ¶
func GetCosBDV2DataPath ¶
func GetPostCnt ¶
func LevelItemHandler ¶
func LevelListHandler ¶
func LevelSearchHandler ¶
func SavePost ¶
func SavePost(post model.UploadPost) (uid int, err error, myError *errors.TestServerError)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.