Documentation ¶
Index ¶
- type Service
- func (s *Service) Generate(_ context.Context, _ *checker.Credentials, _ string, _ []byte, _ uint32, ...) (core.Result, []byte, []*core.Endpoint, error)
- func (s *Service) Lock(_ context.Context, _ *checker.Credentials, _ string) (core.Result, error)
- func (s *Service) Unlock(_ context.Context, _ *checker.Credentials, _ string, _ []byte) (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(_ context.Context, _ *checker.Credentials, _ string, _ []byte, _ uint32, _ uint32, ) ( core.Result, []byte, []*core.Endpoint, error, )
Generate generates a new account.
Click to show internal directories.
Click to hide internal directories.