Documentation ¶
Index ¶
- type Service
- func (_m *Service) Delete(ctx context.Context, id string) error
- func (_m *Service) Get(ctx context.Context, id string, password []byte) (*keystore.KeyPair, error)
- func (_m *Service) List(ctx context.Context, start int64, end int64) ([]string, error)
- func (_m *Service) Ping(ctx context.Context) error
- func (_m *Service) Store(ctx context.Context, id string, password []byte, kp *keystore.KeyPair) error
- func (_m *Service) UpdateID(ctx context.Context, oldID string, newID string) error
- func (_m *Service) UpdatePassword(ctx context.Context, id string, oldPassword []byte, newPassword []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
Service is an autogenerated mock type for the Service type
func (*Service) Store ¶
func (_m *Service) Store(ctx context.Context, id string, password []byte, kp *keystore.KeyPair) error
Store provides a mock function with given fields: ctx, id, password, kp
Click to show internal directories.
Click to hide internal directories.