Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RpcServer ¶
type RpcServer struct {
// contains filtered or unexported fields
}
func (*RpcServer) GetCategories ¶
func (r *RpcServer) GetCategories(context.Context, *pb.CategoryRequest) (*pb.CategoryResponse, error)
GetCategories get all categories
func (*RpcServer) GetPosts ¶
func (r *RpcServer) GetPosts(ctx context.Context, req *pb.PostRequest) (*pb.PostResponse, error)
GetPosts get all posts data
Click to show internal directories.
Click to hide internal directories.