Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_service_1_proto protoreflect.FileDescriptor
var Service_1_ServiceDesc = grpc.ServiceDesc{ ServiceName: "service_1.Service_1", HandlerType: (*Service_1Server)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAll", Handler: _Service_1_GetAll_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "service_1.proto", }
Service_1_ServiceDesc is the grpc.ServiceDesc for Service_1 service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterService_1Server ¶
func RegisterService_1Server(s grpc.ServiceRegistrar, srv Service_1Server)
Types ¶
type Service_1Client ¶
type Service_1Client interface {
GetAll(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Status, error)
}
Service_1Client is the client API for Service_1 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 NewService_1Client ¶
func NewService_1Client(cc grpc.ClientConnInterface) Service_1Client
type Service_1Server ¶
type Service_1Server interface { GetAll(context.Context, *emptypb.Empty) (*Status, error) // contains filtered or unexported methods }
Service_1Server is the server API for Service_1 service. All implementations must embed UnimplementedService_1Server for forward compatibility
type Status ¶
type Status struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*Status) Descriptor
deprecated
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
type UnimplementedService_1Server ¶
type UnimplementedService_1Server struct { }
UnimplementedService_1Server must be embedded to have forward compatible implementations.
type UnsafeService_1Server ¶
type UnsafeService_1Server interface {
// contains filtered or unexported methods
}
UnsafeService_1Server may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to Service_1Server will result in compilation errors.