{"modulePath":"github.com/oopcode/libkv","version":"v0.2.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package testutils\n\n## Functions\n\n```go\nfunc RunCleanup(t *testing.T, kv store.Store)\n```\nRunCleanup cleans up keys introduced by the tests\n\n```go\nfunc RunTestAtomic(t *testing.T, kv store.Store)\n```\nRunTestAtomic tests the Atomic operations by the K/V backends\n\n```go\nfunc RunTestCommon(t *testing.T, kv store.Store)\n```\nRunTestCommon tests the minimal required APIs which should be supported by all K/V backends\n\n```go\nfunc RunTestLock(t *testing.T, kv store.Store)\n```\nRunTestLock tests the KV pair Lock/Unlock APIs supported by the K/V backends.\n\n```go\nfunc RunTestLockTTL(t *testing.T, kv store.Store, backup store.Store)\n```\nRunTestLockTTL tests the KV pair Lock with TTL APIs supported by the K/V backends.\n\n```go\nfunc RunTestTTL(t *testing.T, kv store.Store, backup store.Store)\n```\nRunTestTTL tests the TTL functionality of the K/V backend.\n\n```go\nfunc RunTestWatch(t *testing.T, kv store.Store)\n```\nRunTestWatch tests the watch/monitor APIs supported by the K/V backends.\n\n","path":"github.com/oopcode/libkv/testutils","name":"testutils","synopsis":"","isRedistributable":true}
