TxReaderI() defines the interface to read a TxnTransaction Txn implements this itself to allow for nested transactions
| 66 | // TxReaderI() defines the interface to read a TxnTransaction |
| 67 | // Txn implements this itself to allow for nested transactions |
| 68 | type TxnReaderI interface { |
| 69 | Get(key []byte) ([]byte, lib.ErrorI) |
| 70 | NewIterator(prefix []byte, reverse bool, seek bool) (lib.IteratorI, lib.ErrorI) |
| 71 | Close() lib.ErrorI |
| 72 | } |
| 73 | |
| 74 | // TxnWriterI() defines the interface to write a TxnTransaction |
| 75 | // Txn implements this itself to allow for nested transactions |
no outgoing calls
no test coverage detected