tdb/transaction.go
2020-04-15 23:53:50 -05:00

15 lines
216 B
Go

package tdb
// import (
// bolt "go.etcd.io/bbolt"
// )
// type Tx is defined in internals
type Transaction func(*Tx) error
type Transactable interface {
ReadTx(Transaction) error
WriteTx(Transaction) error
}