Documentation ¶
Index ¶
- func ChangePostStatus(ctx context.Context, params *pb.ReqPostChangeStatus) (*pb.ResPost, error)
- func ChangeUserStatus(ctx context.Context, params *pb.ReqChangeUserStatus) (*pb.ResChangeUserStatus, error)
- func ChangeUserType(ctx context.Context, params *pb.ReqChangeUserType) (*pb.ResChangeUserType, error)
- func CreateComment(ctx context.Context, params *pb.ReqCommentCreate) (*pb.ResComment, error)
- func CreatePost(ctx context.Context, params *pb.ReqPostCreate) (*pb.ResPost, error)
- func DeletePost(ctx context.Context, params *pb.GetByID) (*pb.ResPostSuccess, error)
- func FavouritePost(ctx context.Context, params *pb.GetByID) (*pb.ResPost, error)
- func GetComment(ctx context.Context, params *pb.GetByID) (*pb.ResComment, error)
- func GetComments(ctx context.Context, params *pb.GetByQuery) (*pb.ResCommentList, error)
- func GetPost(ctx context.Context, params *pb.GetByID) (*pb.ResPost, error)
- func GetProfile(ctx context.Context, params *pb.ReqProfile) (*pb.ResProfile, error)
- func ListPosts(ctx context.Context, params *pb.GetByQuery) (*pb.ResPostList, error)
- func Login(ctx context.Context, params *pb.ReqLogin) (*pb.ResLogin, error)
- func Register(ctx context.Context, params *pb.ReqRegistration) (*pb.ResRegistration, error)
- func UpdateComment(ctx context.Context, params *pb.ReqCommentCreate) (*pb.ResComment, error)
- func UpdatePost(ctx context.Context, params *pb.ReqPostUpdate) (*pb.ResPost, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangePostStatus ¶
func ChangeUserStatus ¶
func ChangeUserStatus(ctx context.Context, params *pb.ReqChangeUserStatus) (*pb.ResChangeUserStatus, error)
func ChangeUserType ¶
func ChangeUserType(ctx context.Context, params *pb.ReqChangeUserType) (*pb.ResChangeUserType, error)
func CreateComment ¶
func CreateComment(ctx context.Context, params *pb.ReqCommentCreate) (*pb.ResComment, error)
func CreatePost ¶
func DeletePost ¶
func FavouritePost ¶
func GetComment ¶
func GetComments ¶
func GetComments(ctx context.Context, params *pb.GetByQuery) (*pb.ResCommentList, error)
func GetProfile ¶
func GetProfile(ctx context.Context, params *pb.ReqProfile) (*pb.ResProfile, error)
func ListPosts ¶
func ListPosts(ctx context.Context, params *pb.GetByQuery) (*pb.ResPostList, error)
func Register ¶
func Register(ctx context.Context, params *pb.ReqRegistration) (*pb.ResRegistration, error)
func UpdateComment ¶
func UpdateComment(ctx context.Context, params *pb.ReqCommentCreate) (*pb.ResComment, error)
func UpdatePost ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.