package
0.0.0-20210302063554-9c8f64a6ab3c
Repository: https://github.com/nk-akun/neighborbbs.git
Documentation: pkg.go.dev
# Functions
GetArticleByID finds the article with ID.
GetArticleList is the api that returns a list of articles if you want to add parameter like limit, please use url like /article?limit=10.
GetComments return the comments based on.
GetConfigs return config of server.
GetCurrentUser ...
GetUserFavorite ...
GetUserInfo ...
Login ...
Logout ...
PostArticle is the api used to build a article.
PostComment post comments.
PostDelFavoriteArticle post like.
PostDelLikeArticle post like.
PostFavoriteArticle post favorite.
PostLikeArticle post like.
RegisterByEmail ...
SetEmail ....
SetPassword ...
SetUsername ...
TestForUser is the test api for user.
UpdatePassword ...
UpdateUserProfile update nickname homePage description.