Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_post_service_v1_post_service_v1_proto protoreflect.FileDescriptor
var PostService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "post_service.v1.PostService", HandlerType: (*PostServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{}, Metadata: "post_service/v1/post_service.v1.proto", }
PostService_ServiceDesc is the grpc.ServiceDesc for PostService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPostServiceServer ¶
func RegisterPostServiceServer(s grpc.ServiceRegistrar, srv PostServiceServer)
Types ¶
type PostServiceClient ¶
type PostServiceClient interface { }
PostServiceClient is the client API for PostService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPostServiceClient ¶
func NewPostServiceClient(cc grpc.ClientConnInterface) PostServiceClient
type PostServiceServer ¶
type PostServiceServer interface {
// contains filtered or unexported methods
}
PostServiceServer is the server API for PostService service. All implementations must embed UnimplementedPostServiceServer for forward compatibility
type UnimplementedPostServiceServer ¶
type UnimplementedPostServiceServer struct { }
UnimplementedPostServiceServer must be embedded to have forward compatible implementations.
type UnsafePostServiceServer ¶
type UnsafePostServiceServer interface {
// contains filtered or unexported methods
}
UnsafePostServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PostServiceServer will result in compilation errors.