remotesigner

package
v2.0.0-...-2cd5660 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL