Documentation ¶
Index ¶
- Variables
- type PostService
- func (s *PostService) CreatePlate(ctx context.Context, req *pb.CreatePlateRequest) (*pb.CreatePlateReply, error)
- func (s *PostService) CreatePost(ctx context.Context, req *pb.CreatePostRequest) (*pb.CreatePostReply, error)
- func (s *PostService) DeletePlate(ctx context.Context, req *pb.DeletePlateRequest) (*pb.DeletePlateReply, error)
- func (s *PostService) DeletePost(ctx context.Context, req *pb.DeletePostRequest) (*pb.DeletePostReply, error)
- func (s *PostService) DetailPost(ctx context.Context, req *pb.DetailPostRequest) (*pb.DetailPostReply, error)
- func (s *PostService) DetailPubPost(ctx context.Context, req *pb.DetailPubPostRequest) (*pb.DetailPubPostReply, error)
- func (s *PostService) ListPlate(ctx context.Context, req *pb.ListPlateRequest) (*pb.ListPlateReply, error)
- func (s *PostService) ListPost(ctx context.Context, req *pb.ListPostRequest) (*pb.ListPostReply, error)
- func (s *PostService) ListPubPost(ctx context.Context, req *pb.ListPubPostRequest) (*pb.ListPubPostReply, error)
- func (s *PostService) PublishPost(ctx context.Context, req *pb.PublishPostRequest) (*pb.PublishPostReply, error)
- func (s *PostService) UpdatePlate(ctx context.Context, req *pb.UpdatePlateRequest) (*pb.UpdatePlateReply, error)
- func (s *PostService) UpdatePost(ctx context.Context, req *pb.UpdatePostRequest) (*pb.UpdatePostReply, error)
- func (s *PostService) UpdatePostStatus(ctx context.Context, req *pb.UpdatePostStatusRequest) (*pb.UpdatePostStatusReply, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewPostService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type PostService ¶
type PostService struct { pb.UnimplementedPostServer // contains filtered or unexported fields }
func NewPostService ¶
func NewPostService(biz *biz.PostBiz, userClient userpb.UserClient) *PostService
func (*PostService) CreatePlate ¶
func (s *PostService) CreatePlate(ctx context.Context, req *pb.CreatePlateRequest) (*pb.CreatePlateReply, error)
func (*PostService) CreatePost ¶
func (s *PostService) CreatePost(ctx context.Context, req *pb.CreatePostRequest) (*pb.CreatePostReply, error)
func (*PostService) DeletePlate ¶
func (s *PostService) DeletePlate(ctx context.Context, req *pb.DeletePlateRequest) (*pb.DeletePlateReply, error)
func (*PostService) DeletePost ¶
func (s *PostService) DeletePost(ctx context.Context, req *pb.DeletePostRequest) (*pb.DeletePostReply, error)
func (*PostService) DetailPost ¶
func (s *PostService) DetailPost(ctx context.Context, req *pb.DetailPostRequest) (*pb.DetailPostReply, error)
func (*PostService) DetailPubPost ¶
func (s *PostService) DetailPubPost(ctx context.Context, req *pb.DetailPubPostRequest) (*pb.DetailPubPostReply, error)
func (*PostService) ListPlate ¶
func (s *PostService) ListPlate(ctx context.Context, req *pb.ListPlateRequest) (*pb.ListPlateReply, error)
func (*PostService) ListPost ¶
func (s *PostService) ListPost(ctx context.Context, req *pb.ListPostRequest) (*pb.ListPostReply, error)
func (*PostService) ListPubPost ¶
func (s *PostService) ListPubPost(ctx context.Context, req *pb.ListPubPostRequest) (*pb.ListPubPostReply, error)
func (*PostService) PublishPost ¶
func (s *PostService) PublishPost(ctx context.Context, req *pb.PublishPostRequest) (*pb.PublishPostReply, error)
func (*PostService) UpdatePlate ¶
func (s *PostService) UpdatePlate(ctx context.Context, req *pb.UpdatePlateRequest) (*pb.UpdatePlateReply, error)
func (*PostService) UpdatePost ¶
func (s *PostService) UpdatePost(ctx context.Context, req *pb.UpdatePostRequest) (*pb.UpdatePostReply, error)
func (*PostService) UpdatePostStatus ¶
func (s *PostService) UpdatePostStatus(ctx context.Context, req *pb.UpdatePostStatusRequest) (*pb.UpdatePostStatusReply, error)
Click to show internal directories.
Click to hide internal directories.