Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterCoordinatorServiceServer(s grpc.ServiceRegistrar, srv CoordinatorServiceServer)
- type CoordinatorServiceClient
- type CoordinatorServiceServer
- type G1Point
- type IChainbaseServiceManagerTaskResponse
- func (*IChainbaseServiceManagerTaskResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IChainbaseServiceManagerTaskResponse) GetReferenceTaskIndex() uint32
- func (x *IChainbaseServiceManagerTaskResponse) GetTaskResponse() string
- func (*IChainbaseServiceManagerTaskResponse) ProtoMessage()
- func (x *IChainbaseServiceManagerTaskResponse) ProtoReflect() protoreflect.Message
- func (x *IChainbaseServiceManagerTaskResponse) Reset()
- func (x *IChainbaseServiceManagerTaskResponse) String() string
- type Signature
- type SignedTaskResponseReply
- func (*SignedTaskResponseReply) Descriptor() ([]byte, []int)deprecated
- func (x *SignedTaskResponseReply) GetSuccess() bool
- func (*SignedTaskResponseReply) ProtoMessage()
- func (x *SignedTaskResponseReply) ProtoReflect() protoreflect.Message
- func (x *SignedTaskResponseReply) Reset()
- func (x *SignedTaskResponseReply) String() string
- type SignedTaskResponseRequest
- func (*SignedTaskResponseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignedTaskResponseRequest) GetBlsSignature() *Signature
- func (x *SignedTaskResponseRequest) GetOperatorId() []byte
- func (x *SignedTaskResponseRequest) GetTaskResponse() *IChainbaseServiceManagerTaskResponse
- func (*SignedTaskResponseRequest) ProtoMessage()
- func (x *SignedTaskResponseRequest) ProtoReflect() protoreflect.Message
- func (x *SignedTaskResponseRequest) Reset()
- func (x *SignedTaskResponseRequest) String() string
- type UnimplementedCoordinatorServiceServer
- type UnsafeCoordinatorServiceServer
Constants ¶
const (
CoordinatorService_ProcessSignedTaskResponse_FullMethodName = "/coordinator.CoordinatorService/ProcessSignedTaskResponse"
)
Variables ¶
var CoordinatorService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "coordinator.CoordinatorService", HandlerType: (*CoordinatorServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ProcessSignedTaskResponse", Handler: _CoordinatorService_ProcessSignedTaskResponse_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "coordinator.proto", }
CoordinatorService_ServiceDesc is the grpc.ServiceDesc for CoordinatorService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_coordinator_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCoordinatorServiceServer ¶
func RegisterCoordinatorServiceServer(s grpc.ServiceRegistrar, srv CoordinatorServiceServer)
Types ¶
type CoordinatorServiceClient ¶
type CoordinatorServiceClient interface {
ProcessSignedTaskResponse(ctx context.Context, in *SignedTaskResponseRequest, opts ...grpc.CallOption) (*SignedTaskResponseReply, error)
}
CoordinatorServiceClient is the client API for CoordinatorService 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 NewCoordinatorServiceClient ¶
func NewCoordinatorServiceClient(cc grpc.ClientConnInterface) CoordinatorServiceClient
type CoordinatorServiceServer ¶
type CoordinatorServiceServer interface { ProcessSignedTaskResponse(context.Context, *SignedTaskResponseRequest) (*SignedTaskResponseReply, error) // contains filtered or unexported methods }
CoordinatorServiceServer is the server API for CoordinatorService service. All implementations must embed UnimplementedCoordinatorServiceServer for forward compatibility.
type G1Point ¶
type G1Point struct { X []uint64 `protobuf:"varint,1,rep,packed,name=x,proto3" json:"x,omitempty"` // 4 uint64 values Y []uint64 `protobuf:"varint,2,rep,packed,name=y,proto3" json:"y,omitempty"` // 4 uint64 values // contains filtered or unexported fields }
func (*G1Point) Descriptor
deprecated
func (*G1Point) ProtoMessage ¶
func (*G1Point) ProtoMessage()
func (*G1Point) ProtoReflect ¶
func (x *G1Point) ProtoReflect() protoreflect.Message
type IChainbaseServiceManagerTaskResponse ¶
type IChainbaseServiceManagerTaskResponse struct { ReferenceTaskIndex uint32 `protobuf:"varint,1,opt,name=reference_task_index,json=referenceTaskIndex,proto3" json:"reference_task_index,omitempty"` TaskResponse string `protobuf:"bytes,2,opt,name=task_response,json=taskResponse,proto3" json:"task_response,omitempty"` // contains filtered or unexported fields }
func (*IChainbaseServiceManagerTaskResponse) Descriptor
deprecated
func (*IChainbaseServiceManagerTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use IChainbaseServiceManagerTaskResponse.ProtoReflect.Descriptor instead.
func (*IChainbaseServiceManagerTaskResponse) GetReferenceTaskIndex ¶
func (x *IChainbaseServiceManagerTaskResponse) GetReferenceTaskIndex() uint32
func (*IChainbaseServiceManagerTaskResponse) GetTaskResponse ¶
func (x *IChainbaseServiceManagerTaskResponse) GetTaskResponse() string
func (*IChainbaseServiceManagerTaskResponse) ProtoMessage ¶
func (*IChainbaseServiceManagerTaskResponse) ProtoMessage()
func (*IChainbaseServiceManagerTaskResponse) ProtoReflect ¶
func (x *IChainbaseServiceManagerTaskResponse) ProtoReflect() protoreflect.Message
func (*IChainbaseServiceManagerTaskResponse) Reset ¶
func (x *IChainbaseServiceManagerTaskResponse) Reset()
func (*IChainbaseServiceManagerTaskResponse) String ¶
func (x *IChainbaseServiceManagerTaskResponse) String() string
type Signature ¶
type Signature struct { G1Point *G1Point `protobuf:"bytes,1,opt,name=g1_point,json=g1Point,proto3" json:"g1_point,omitempty"` // contains filtered or unexported fields }
func (*Signature) Descriptor
deprecated
func (*Signature) GetG1Point ¶
func (*Signature) ProtoMessage ¶
func (*Signature) ProtoMessage()
func (*Signature) ProtoReflect ¶
func (x *Signature) ProtoReflect() protoreflect.Message
type SignedTaskResponseReply ¶
type SignedTaskResponseReply struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*SignedTaskResponseReply) Descriptor
deprecated
func (*SignedTaskResponseReply) Descriptor() ([]byte, []int)
Deprecated: Use SignedTaskResponseReply.ProtoReflect.Descriptor instead.
func (*SignedTaskResponseReply) GetSuccess ¶
func (x *SignedTaskResponseReply) GetSuccess() bool
func (*SignedTaskResponseReply) ProtoMessage ¶
func (*SignedTaskResponseReply) ProtoMessage()
func (*SignedTaskResponseReply) ProtoReflect ¶
func (x *SignedTaskResponseReply) ProtoReflect() protoreflect.Message
func (*SignedTaskResponseReply) Reset ¶
func (x *SignedTaskResponseReply) Reset()
func (*SignedTaskResponseReply) String ¶
func (x *SignedTaskResponseReply) String() string
type SignedTaskResponseRequest ¶
type SignedTaskResponseRequest struct { TaskResponse *IChainbaseServiceManagerTaskResponse `protobuf:"bytes,1,opt,name=task_response,json=taskResponse,proto3" json:"task_response,omitempty"` BlsSignature *Signature `protobuf:"bytes,2,opt,name=bls_signature,json=blsSignature,proto3" json:"bls_signature,omitempty"` OperatorId []byte `protobuf:"bytes,3,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty"` // OperatorId (Bytes32) // contains filtered or unexported fields }
func (*SignedTaskResponseRequest) Descriptor
deprecated
func (*SignedTaskResponseRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignedTaskResponseRequest.ProtoReflect.Descriptor instead.
func (*SignedTaskResponseRequest) GetBlsSignature ¶
func (x *SignedTaskResponseRequest) GetBlsSignature() *Signature
func (*SignedTaskResponseRequest) GetOperatorId ¶
func (x *SignedTaskResponseRequest) GetOperatorId() []byte
func (*SignedTaskResponseRequest) GetTaskResponse ¶
func (x *SignedTaskResponseRequest) GetTaskResponse() *IChainbaseServiceManagerTaskResponse
func (*SignedTaskResponseRequest) ProtoMessage ¶
func (*SignedTaskResponseRequest) ProtoMessage()
func (*SignedTaskResponseRequest) ProtoReflect ¶
func (x *SignedTaskResponseRequest) ProtoReflect() protoreflect.Message
func (*SignedTaskResponseRequest) Reset ¶
func (x *SignedTaskResponseRequest) Reset()
func (*SignedTaskResponseRequest) String ¶
func (x *SignedTaskResponseRequest) String() string
type UnimplementedCoordinatorServiceServer ¶
type UnimplementedCoordinatorServiceServer struct{}
UnimplementedCoordinatorServiceServer 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 (UnimplementedCoordinatorServiceServer) ProcessSignedTaskResponse ¶
func (UnimplementedCoordinatorServiceServer) ProcessSignedTaskResponse(context.Context, *SignedTaskResponseRequest) (*SignedTaskResponseReply, error)
type UnsafeCoordinatorServiceServer ¶
type UnsafeCoordinatorServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCoordinatorServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CoordinatorServiceServer will result in compilation errors.