Documentation ¶
Index ¶
- type Store
- func (s *Store) Close(_ context.Context) error
- func (s *Store) Cursor(ctx context.Context, f func(context.Context, chain.Cursor) error) error
- func (s *Store) Del(_ context.Context, round uint64) error
- func (s *Store) Get(_ context.Context, round uint64) (*chain.Beacon, error)
- func (s *Store) Last(_ context.Context) (*chain.Beacon, error)
- func (s *Store) Len(_ context.Context) (int, error)
- func (s *Store) Put(_ context.Context, beacon *chain.Beacon) error
- func (s *Store) SaveTo(ctx context.Context, w io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.