Documentation ¶
Index ¶
- Variables
- func RegisterSignatureDispatcherServer(s grpc.ServiceRegistrar, srv SignatureDispatcherServer)
- type SignMilestoneRequest
- func (*SignMilestoneRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignMilestoneRequest) GetMsEssence() []byte
- func (x *SignMilestoneRequest) GetPubKeys() [][]byte
- func (*SignMilestoneRequest) ProtoMessage()
- func (x *SignMilestoneRequest) ProtoReflect() protoreflect.Message
- func (x *SignMilestoneRequest) Reset()
- func (x *SignMilestoneRequest) String() string
- type SignMilestoneResponse
- func (*SignMilestoneResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignMilestoneResponse) GetSignatures() [][]byte
- func (*SignMilestoneResponse) ProtoMessage()
- func (x *SignMilestoneResponse) ProtoReflect() protoreflect.Message
- func (x *SignMilestoneResponse) Reset()
- func (x *SignMilestoneResponse) String() string
- type SignatureDispatcherClient
- type SignatureDispatcherServer
- type UnimplementedSignatureDispatcherServer
- type UnsafeSignatureDispatcherServer
Constants ¶
This section is empty.
Variables ¶
var File_proto_dispatcher_proto protoreflect.FileDescriptor
Functions ¶
func RegisterSignatureDispatcherServer ¶
func RegisterSignatureDispatcherServer(s grpc.ServiceRegistrar, srv SignatureDispatcherServer)
Types ¶
type SignMilestoneRequest ¶
type SignMilestoneRequest struct { PubKeys [][]byte `protobuf:"bytes,1,rep,name=pubKeys,proto3" json:"pubKeys,omitempty"` MsEssence []byte `protobuf:"bytes,2,opt,name=msEssence,proto3" json:"msEssence,omitempty"` // contains filtered or unexported fields }
func (*SignMilestoneRequest) Descriptor
deprecated
func (*SignMilestoneRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignMilestoneRequest.ProtoReflect.Descriptor instead.
func (*SignMilestoneRequest) GetMsEssence ¶
func (x *SignMilestoneRequest) GetMsEssence() []byte
func (*SignMilestoneRequest) GetPubKeys ¶
func (x *SignMilestoneRequest) GetPubKeys() [][]byte
func (*SignMilestoneRequest) ProtoMessage ¶
func (*SignMilestoneRequest) ProtoMessage()
func (*SignMilestoneRequest) ProtoReflect ¶
func (x *SignMilestoneRequest) ProtoReflect() protoreflect.Message
func (*SignMilestoneRequest) Reset ¶
func (x *SignMilestoneRequest) Reset()
func (*SignMilestoneRequest) String ¶
func (x *SignMilestoneRequest) String() string
type SignMilestoneResponse ¶
type SignMilestoneResponse struct { Signatures [][]byte `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures,omitempty"` // contains filtered or unexported fields }
func (*SignMilestoneResponse) Descriptor
deprecated
func (*SignMilestoneResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignMilestoneResponse.ProtoReflect.Descriptor instead.
func (*SignMilestoneResponse) GetSignatures ¶
func (x *SignMilestoneResponse) GetSignatures() [][]byte
func (*SignMilestoneResponse) ProtoMessage ¶
func (*SignMilestoneResponse) ProtoMessage()
func (*SignMilestoneResponse) ProtoReflect ¶
func (x *SignMilestoneResponse) ProtoReflect() protoreflect.Message
func (*SignMilestoneResponse) Reset ¶
func (x *SignMilestoneResponse) Reset()
func (*SignMilestoneResponse) String ¶
func (x *SignMilestoneResponse) String() string
type SignatureDispatcherClient ¶
type SignatureDispatcherClient interface {
SignMilestone(ctx context.Context, in *SignMilestoneRequest, opts ...grpc.CallOption) (*SignMilestoneResponse, error)
}
SignatureDispatcherClient is the client API for SignatureDispatcher 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 NewSignatureDispatcherClient ¶
func NewSignatureDispatcherClient(cc grpc.ClientConnInterface) SignatureDispatcherClient
type SignatureDispatcherServer ¶
type SignatureDispatcherServer interface { SignMilestone(context.Context, *SignMilestoneRequest) (*SignMilestoneResponse, error) // contains filtered or unexported methods }
SignatureDispatcherServer is the server API for SignatureDispatcher service. All implementations must embed UnimplementedSignatureDispatcherServer for forward compatibility
type UnimplementedSignatureDispatcherServer ¶
type UnimplementedSignatureDispatcherServer struct { }
UnimplementedSignatureDispatcherServer must be embedded to have forward compatible implementations.
func (UnimplementedSignatureDispatcherServer) SignMilestone ¶
func (UnimplementedSignatureDispatcherServer) SignMilestone(context.Context, *SignMilestoneRequest) (*SignMilestoneResponse, error)
type UnsafeSignatureDispatcherServer ¶
type UnsafeSignatureDispatcherServer interface {
// contains filtered or unexported methods
}
UnsafeSignatureDispatcherServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SignatureDispatcherServer will result in compilation errors.