Documentation
¶
Index ¶
- type DenyingListerServer
- type ErroringListerServer
- type ErroringService
- func (s *ErroringService) Sign(ctx context.Context, in *pb.SignRequest) (*pb.SignResponse, error)
- func (s *ErroringService) SignBeaconAttestation(ctx context.Context, in *pb.SignBeaconAttestationRequest) (*pb.SignResponse, error)
- func (s *ErroringService) SignBeaconAttestations(ctx context.Context, in *pb.SignBeaconAttestationsRequest) (*pb.MultisignResponse, error)
- func (s *ErroringService) SignBeaconProposal(ctx context.Context, in *pb.SignBeaconProposalRequest) (*pb.SignResponse, error)
- type MockListerServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DenyingListerServer ¶
type DenyingListerServer struct {
pb.UnimplementedListerServer
}
DenyingListerServer is a mock lister server that returns denials.
func (*DenyingListerServer) ListAccounts ¶
func (s *DenyingListerServer) ListAccounts(ctx context.Context, in *pb.ListAccountsRequest) (*pb.ListAccountsResponse, error)
ListAccounts returns an error.
type ErroringListerServer ¶
type ErroringListerServer struct {
pb.UnimplementedListerServer
}
ErroringListerServer is a mock lister server that returns errors.
func (*ErroringListerServer) ListAccounts ¶
func (s *ErroringListerServer) ListAccounts(ctx context.Context, in *pb.ListAccountsRequest) (*pb.ListAccountsResponse, error)
ListAccounts returns an error.
type ErroringService ¶
type ErroringService struct { }
ErroringService is a mock service that returns errors.
func (*ErroringService) Sign ¶
func (s *ErroringService) Sign(ctx context.Context, in *pb.SignRequest) (*pb.SignResponse, error)
Sign returns an error.
func (*ErroringService) SignBeaconAttestation ¶
func (s *ErroringService) SignBeaconAttestation(ctx context.Context, in *pb.SignBeaconAttestationRequest) (*pb.SignResponse, error)
SignBeaconAttestation returns an error.
func (*ErroringService) SignBeaconAttestations ¶
func (s *ErroringService) SignBeaconAttestations(ctx context.Context, in *pb.SignBeaconAttestationsRequest) (*pb.MultisignResponse, error)
SignBeaconAttestations returns an error.
func (*ErroringService) SignBeaconProposal ¶
func (s *ErroringService) SignBeaconProposal(ctx context.Context, in *pb.SignBeaconProposalRequest) (*pb.SignResponse, error)
SignBeaconProposal returns an error.
type MockListerServer ¶
type MockListerServer struct {
pb.UnimplementedListerServer
}
MockListerServer is a mock lister server that returns static accounts.
func (*MockListerServer) ListAccounts ¶
func (s *MockListerServer) ListAccounts(ctx context.Context, in *pb.ListAccountsRequest) (*pb.ListAccountsResponse, error)
ListAccounts returns static accounts.
Click to show internal directories.
Click to hide internal directories.