Documentation ¶
Index ¶
- func New() migration.Store
- type Store
- func (s *Store) Get(ctx context.Context, account ed25519.PublicKey) (state migration.State, exists bool, err error)
- func (s *Store) GetCount(ctx context.Context, account ed25519.PublicKey) (int, error)
- func (s *Store) IncrementCount(ctx context.Context, account ed25519.PublicKey) error
- func (s *Store) Reset()
- func (s *Store) Update(_ context.Context, account ed25519.PublicKey, prev, next migration.State) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Store ¶ added in v0.2.6
func (*Store) Get ¶ added in v0.2.6
func (s *Store) Get(ctx context.Context, account ed25519.PublicKey) (state migration.State, exists bool, err error)
Get implements migration.Store.Get.
func (*Store) IncrementCount ¶ added in v0.3.0
IncrementCount implements migration.Store.IncrementCount
Click to show internal directories.
Click to hide internal directories.