Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseError ¶
type BaseError struct {
Data struct{} `json:"data"`
Error bool `json:"error" example:"true"`
// contains filtered or unexported fields
}
type CreatePost ¶
type CreatePost struct {
Data newPostDataWrapper `json:"data"`
// contains filtered or unexported fields
}
type GetUserInfo ¶
type GetUserInfo struct {
Data getUserInfoWrapper `json:"data"`
// contains filtered or unexported fields
}
type GetUserPosts ¶
type GetUserPosts struct {
Data allPostsDataWrapper `json:"data"`
// contains filtered or unexported fields
}
type LoginUser ¶
type LoginUser struct {
Data loginUserData `json:"data"`
// contains filtered or unexported fields
}
type RegisterUser ¶
type RegisterUser struct {
Data registerUserData `json:"data"`
// contains filtered or unexported fields
}
type UnauthorizedError ¶
type UnauthorizedError struct {
}
type ValidationError ¶
type ValidationError struct {
BaseError
Data validationErrorWrapper `json:"data"`
}
Click to show internal directories.
Click to hide internal directories.