Documentation ¶
Index ¶
- type Service
- func (*Service) BeginTx(_ context.Context) (context.Context, context.CancelFunc, error)
- func (*Service) CommitTx(_ context.Context) error
- func (*Service) Events(_ context.Context, _ *execdb.EventFilter) ([]*execdb.Event, error)
- func (*Service) Metadata(_ context.Context, _ string) ([]byte, error)
- func (*Service) SetBlock(_ context.Context, _ *execdb.Block) error
- func (*Service) SetBlocks(_ context.Context, _ []*execdb.Block) error
- func (*Service) SetEvent(_ context.Context, _ *execdb.Event) error
- func (*Service) SetEvents(_ context.Context, _ []*execdb.Event) error
- func (*Service) SetMetadata(_ context.Context, _ string, _ []byte) error
- func (*Service) SetTransaction(_ context.Context, _ *execdb.Transaction) error
- func (*Service) SetTransactionStateDiff(_ context.Context, _ *execdb.TransactionStateDiff) error
- func (*Service) SetTransactionStateDiffs(_ context.Context, _ []*execdb.TransactionStateDiff) error
- func (*Service) SetTransactions(_ context.Context, _ []*execdb.Transaction) error
- func (*Service) Transaction(_ context.Context, _ []byte) (*execdb.Transaction, error)
- func (*Service) Transactions(_ context.Context, _ *execdb.TransactionFilter) ([]*execdb.Transaction, 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.
func (*Service) SetMetadata ¶
SetMetadata sets a metadata key to a JSON value.
func (*Service) SetTransaction ¶
SetTransaction is a mock.
func (*Service) SetTransactionStateDiff ¶
SetTransactionStateDiff is a mock.
func (*Service) SetTransactionStateDiffs ¶
SetTransactionStateDiffs is a mock.
func (*Service) SetTransactions ¶
SetTransactions is a mock.
func (*Service) Transaction ¶ added in v0.3.2
Transaction is a mock.
func (*Service) Transactions ¶
func (*Service) Transactions(_ context.Context, _ *execdb.TransactionFilter) ([]*execdb.Transaction, error)
Transactions is a mock.
Click to show internal directories.
Click to hide internal directories.