Documentation ¶
Index ¶
- type RW
- func (rw *RW) GetAccountTransactions(_ context.Context, account string, opts *history.ReadOptions) ([]*model.Entry, error)
- func (rw *RW) GetLatestForAccount(_ context.Context, account string) (*model.Entry, error)
- func (rw *RW) GetTransaction(_ context.Context, txHash []byte) (*model.Entry, error)
- func (rw *RW) Reset()
- func (rw *RW) Write(_ context.Context, e *model.Entry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RW ¶
func (*RW) GetAccountTransactions ¶
func (rw *RW) GetAccountTransactions(_ context.Context, account string, opts *history.ReadOptions) ([]*model.Entry, error)
GetAccountTransactions implements history.Writer.GetAccountTransactions.
func (*RW) GetLatestForAccount ¶
GetLatestForAccount implements history.Reader.GetLatestForAccount.
func (*RW) GetTransaction ¶
GetTransaction implements history.Writer.GetTransaction.
Click to show internal directories.
Click to hide internal directories.