Documentation ¶
Index ¶
- func ProtocolState(t testing.TB, db *badger.DB) *pbadger.State
- func RunWithProtocolState(t testing.TB, f func(*badger.DB, *pbadger.State))
- func RunWithProtocolStateAndConsumer(t testing.TB, consumer protocol.Consumer, f func(*badger.DB, *pbadger.State))
- func RunWithProtocolStateDeps(t testing.TB, create createState, f func(*badger.DB, *pbadger.State))
- func WithProtocolState(t testing.TB, db *badger.DB, create createState) *pbadger.State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunWithProtocolState ¶
func RunWithProtocolStateDeps ¶
use this function if you'd like to create your own protocol state with customized dependencies
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.