Documentation ¶
Index ¶
- type Store
- func (s *Store) CleanOldPendingEvents(ctx context.Context, height uint64) error
- func (s *Store) CurrentBlock(ctx context.Context, process string) (uint64, error)
- func (s *Store) Delete(ctx context.Context, id types.ID) error
- func (s *Store) DeletePendingEvent(ctx context.Context, pendingEvent *types.MapperEvent) error
- func (s *Store) EventsFromTo(ctx context.Context, from, to uint64) ([]*types.MapperEvent, error)
- func (s *Store) FirstEvent(ctx context.Context) (*types.MapperEvent, error)
- func (s *Store) Get(ctx context.Context, id types.ID) (*types.Mapper, error)
- func (s *Store) GetAll(ctx context.Context) ([]*types.Mapper, error)
- func (s *Store) GetByOwner(ctx context.Context, owner common.Address, limit int, cursor string) ([]*types.Mapper, string, error)
- func (s *Store) GetEvents(ctx context.Context, mapperID types.ID, limit int, cursor string) ([]*types.MapperEvent, string, error)
- func (s *Store) GetHistoryAt(ctx context.Context, id types.ID, at time.Time) (*types.MapperHistory, error)
- func (s *Store) PendingEventsForOwner(ctx context.Context, owner common.Address) ([]*types.MapperEvent, error)
- func (s *Store) Store(ctx context.Context, mapper *types.Mapper) error
- func (s *Store) StoreCurrentBlock(ctx context.Context, process string, height uint64) error
- func (s *Store) StoreEvent(ctx context.Context, event *types.MapperEvent) error
- func (s *Store) StoreHistory(ctx context.Context, history *types.MapperHistory) error
- func (s *Store) StorePendingEvent(ctx context.Context, pendingEvent *types.MapperEvent) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) CleanOldPendingEvents ¶
func (*Store) CurrentBlock ¶
CurrentBlock implements store.Store
func (*Store) DeletePendingEvent ¶
func (*Store) EventsFromTo ¶
func (*Store) FirstEvent ¶
func (*Store) GetByOwner ¶
func (*Store) GetHistoryAt ¶
func (*Store) PendingEventsForOwner ¶
func (*Store) StoreCurrentBlock ¶
StoreCurrentBlock implements store.Store
func (*Store) StoreEvent ¶
func (*Store) StoreHistory ¶
func (*Store) StorePendingEvent ¶
StorePendingEvent implements store.Store
Click to show internal directories.
Click to hide internal directories.