graph/db: rename KVStoreOptions to StoreOptions
We'll re-use this options struct for our SQLStore too. So here we rename it to be more generic.
This commit is contained in:
3 files changed
+16
-16
No files matched your search
@@ -203,7 +203,7 @@ var _ V1Store = (*KVStore)(nil)
|
||||
|
||||
// NewKVStore allocates a new KVStore backed by a DB instance. The
|
||||
// returned instance has its own unique reject cache and channel cache.
|
||||
func NewKVStore(db kvdb.Backend, options ...KVStoreOptionModifier) (*KVStore,
|
||||
func NewKVStore(db kvdb.Backend, options ...StoreOptionModifier) (*KVStore,
|
||||
error) {
|
||||
|
||||
opts := DefaultOptions()
|
||||
|
||||
Reference in new issue
Block a user