Documentation ¶
Index ¶
- type Service
- func (s *Service) Generate(ctx context.Context, credentials *checker.Credentials, account string, ...) (core.Result, []byte, []*core.Endpoint, error)
- func (s *Service) Lock(ctx context.Context, credentials *checker.Credentials, account string) (core.Result, error)
- func (s *Service) Unlock(ctx context.Context, credentials *checker.Credentials, account string, ...) (core.Result, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct{}
Service is a mock account manager service.
func (*Service) Generate ¶
func (s *Service) Generate(ctx context.Context, credentials *checker.Credentials, account string, passphrase []byte, participants uint32, signingThreshold uint32, ) ( core.Result, []byte, []*core.Endpoint, error, )
Generate generates a new account.
Click to show internal directories.
Click to hide internal directories.