package
0.0.0-20231103123238-49bf83314d38
Repository: https://github.com/daz-3ux/dblog.git
Documentation: pkg.go.dev
# Structs
No description provided by the author
ChangePasswordRequest specifies the request parameters for `POST /v1/users/{username}/change-password`.
CreatePostRequest specifies the request parameters for `POST /v1/posts`.
CreatePostResponse specifies the response parameters for `POST /v1/posts`.
CreateUserRequest specifies the request parameters for `POST /v1/users`.
No description provided by the author
No description provided by the author
ListPostsRequest specifies the request parameters for `GET /v1/posts`.
ListPostsResponse specifies the response parameters for `GET /v1/posts`.
ListUserRequest specifies the request parameters for `GET /v1/users`.
ListUserResponse specifies the response parameters for `GET /v1/users`.
LoginRequest specifies the request parameters for `POST /login`.
LoginResponse specifies the response parameters for `POST /login`.
PostInfo is the post's detail info.
UpdatePostRequest specifies the request parameters for `PUT /v1/posts`.
UpdateUserRequest specifies the request parameters for `PUT /v1/users/{username}`.
UserInfo is the user's all information that can be listed.
# Type aliases
No description provided by the author
No description provided by the author
GetPostResponse specifies the request parameters for `GET /v1/posts/{post_id}`.
GetUserResponse specifies the response parameters for `GET /v1/users/{username}`.
No description provided by the author