server

package
v1.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2023 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostRpcServer

type PostRpcServer struct {
	pb.UnimplementedPostRpcServer
	// contains filtered or unexported fields
}

func NewPostRpcServer

func NewPostRpcServer(svcCtx *svc.ServiceContext) *PostRpcServer

func (*PostRpcServer) CountPost added in v1.2.5

func (s *PostRpcServer) CountPost(ctx context.Context, in *pb.CountPostReq) (*pb.CountPostResp, error)

func (*PostRpcServer) CreatePost

func (s *PostRpcServer) CreatePost(ctx context.Context, in *pb.CreatePostReq) (*pb.CreatePostResp, error)

func (*PostRpcServer) DeletePost

func (s *PostRpcServer) DeletePost(ctx context.Context, in *pb.DeletePostReq) (*pb.DeletePostResp, error)

func (*PostRpcServer) ListPost

func (s *PostRpcServer) ListPost(ctx context.Context, in *pb.ListPostReq) (*pb.ListPostResp, error)

func (*PostRpcServer) RetrievePost

func (s *PostRpcServer) RetrievePost(ctx context.Context, in *pb.RetrievePostReq) (*pb.RetrievePostResp, error)

func (*PostRpcServer) SetOfficial added in v1.2.0

func (s *PostRpcServer) SetOfficial(ctx context.Context, in *pb.SetOfficialReq) (*pb.SetOfficialResp, error)

func (*PostRpcServer) UpdatePost

func (s *PostRpcServer) UpdatePost(ctx context.Context, in *pb.UpdatePostReq) (*pb.UpdatePostResp, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL