Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterManagerServiceServer(s grpc.ServiceRegistrar, srv ManagerServiceServer)
- type GetOrCreateRawRequest
- func (*GetOrCreateRawRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrCreateRawRequest) GetContext() int64
- func (*GetOrCreateRawRequest) ProtoMessage()
- func (x *GetOrCreateRawRequest) ProtoReflect() protoreflect.Message
- func (x *GetOrCreateRawRequest) Reset()
- func (x *GetOrCreateRawRequest) String() string
- type GetOrCreateRawResponse
- func (*GetOrCreateRawResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrCreateRawResponse) GetResult() int64
- func (*GetOrCreateRawResponse) ProtoMessage()
- func (x *GetOrCreateRawResponse) ProtoReflect() protoreflect.Message
- func (x *GetOrCreateRawResponse) Reset()
- func (x *GetOrCreateRawResponse) String() string
- type ManagerServiceClient
- type ManagerServiceServer
- type UnimplementedManagerServiceServer
- type UnsafeManagerServiceServer
Constants ¶
const (
ManagerService_GetOrCreateRaw_FullMethodName = "/health.connect.ManagerService/GetOrCreateRaw"
)
Variables ¶
var File_proto_health_connect_connect_proto protoreflect.FileDescriptor
var ManagerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "health.connect.ManagerService", HandlerType: (*ManagerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetOrCreateRaw", Handler: _ManagerService_GetOrCreateRaw_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/health/connect/connect.proto", }
ManagerService_ServiceDesc is the grpc.ServiceDesc for ManagerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterManagerServiceServer ¶
func RegisterManagerServiceServer(s grpc.ServiceRegistrar, srv ManagerServiceServer)
Types ¶
type GetOrCreateRawRequest ¶
type GetOrCreateRawRequest struct {
Context int64 `protobuf:"varint,1,opt,name=context,proto3" json:"context,omitempty"`
// contains filtered or unexported fields
}
func (*GetOrCreateRawRequest) Descriptor
deprecated
func (*GetOrCreateRawRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOrCreateRawRequest.ProtoReflect.Descriptor instead.
func (*GetOrCreateRawRequest) GetContext ¶
func (x *GetOrCreateRawRequest) GetContext() int64
func (*GetOrCreateRawRequest) ProtoMessage ¶
func (*GetOrCreateRawRequest) ProtoMessage()
func (*GetOrCreateRawRequest) ProtoReflect ¶
func (x *GetOrCreateRawRequest) ProtoReflect() protoreflect.Message
func (*GetOrCreateRawRequest) Reset ¶
func (x *GetOrCreateRawRequest) Reset()
func (*GetOrCreateRawRequest) String ¶
func (x *GetOrCreateRawRequest) String() string
type GetOrCreateRawResponse ¶
type GetOrCreateRawResponse struct {
Result int64 `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
// contains filtered or unexported fields
}
func (*GetOrCreateRawResponse) Descriptor
deprecated
func (*GetOrCreateRawResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOrCreateRawResponse.ProtoReflect.Descriptor instead.
func (*GetOrCreateRawResponse) GetResult ¶
func (x *GetOrCreateRawResponse) GetResult() int64
func (*GetOrCreateRawResponse) ProtoMessage ¶
func (*GetOrCreateRawResponse) ProtoMessage()
func (*GetOrCreateRawResponse) ProtoReflect ¶
func (x *GetOrCreateRawResponse) ProtoReflect() protoreflect.Message
func (*GetOrCreateRawResponse) Reset ¶
func (x *GetOrCreateRawResponse) Reset()
func (*GetOrCreateRawResponse) String ¶
func (x *GetOrCreateRawResponse) String() string
type ManagerServiceClient ¶
type ManagerServiceClient interface {
GetOrCreateRaw(ctx context.Context, in *GetOrCreateRawRequest, opts ...grpc.CallOption) (*GetOrCreateRawResponse, error)
}
ManagerServiceClient is the client API for ManagerService 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 NewManagerServiceClient ¶
func NewManagerServiceClient(cc grpc.ClientConnInterface) ManagerServiceClient
type ManagerServiceServer ¶
type ManagerServiceServer interface {
GetOrCreateRaw(context.Context, *GetOrCreateRawRequest) (*GetOrCreateRawResponse, error)
// contains filtered or unexported methods
}
ManagerServiceServer is the server API for ManagerService service. All implementations must embed UnimplementedManagerServiceServer for forward compatibility.
type UnimplementedManagerServiceServer ¶
type UnimplementedManagerServiceServer struct{}
UnimplementedManagerServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedManagerServiceServer) GetOrCreateRaw ¶
func (UnimplementedManagerServiceServer) GetOrCreateRaw(context.Context, *GetOrCreateRawRequest) (*GetOrCreateRawResponse, error)
type UnsafeManagerServiceServer ¶
type UnsafeManagerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeManagerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ManagerServiceServer will result in compilation errors.