Documentation ¶
Index ¶
- type Handler
- func (h *Handler) Sign(ctx context.Context, req *pb.SignRequest) (*pb.SignResponse, error)
- func (h *Handler) SignBeaconAttestation(ctx context.Context, req *pb.SignBeaconAttestationRequest) (*pb.SignResponse, error)
- func (h *Handler) SignBeaconAttestations(ctx context.Context, req *pb.SignBeaconAttestationsRequest) (*pb.MultisignResponse, error)
- func (h *Handler) SignBeaconProposal(ctx context.Context, req *pb.SignBeaconProposalRequest) (*pb.SignResponse, error)
- type Parameter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is the signer handler, allowing access to signer functions through grpc.
func (*Handler) Sign ¶
func (h *Handler) Sign(ctx context.Context, req *pb.SignRequest) (*pb.SignResponse, error)
Sign signs generic data.
func (*Handler) SignBeaconAttestation ¶
func (h *Handler) SignBeaconAttestation(ctx context.Context, req *pb.SignBeaconAttestationRequest) (*pb.SignResponse, error)
SignBeaconAttestation signs a attestation for a beacon block.
func (*Handler) SignBeaconAttestations ¶ added in v0.9.0
func (h *Handler) SignBeaconAttestations(ctx context.Context, req *pb.SignBeaconAttestationsRequest) (*pb.MultisignResponse, error)
SignBeaconAttestations signs multiple beacon attestations.
func (*Handler) SignBeaconProposal ¶
func (h *Handler) SignBeaconProposal(ctx context.Context, req *pb.SignBeaconProposalRequest) (*pb.SignResponse, error)
SignBeaconProposal signs a proposal for a beacon block.
type Parameter ¶
type Parameter interface {
// contains filtered or unexported methods
}
Parameter is the interface for service parameters.
func WithLogLevel ¶
WithLogLevel sets the log level for the module.
func WithSigner ¶
WithSigner sets the signer service for the module.
Click to show internal directories.
Click to hide internal directories.