Browse Source

Merge pull request #30 from ahmetalpbalkan/rm-WatchCallback

Remove unused type WatchCallback
Alexandre Beslic 10 years ago
parent
commit
ebeec0dd96
1 changed files with 0 additions and 4 deletions
  1. 0 4
      libnetwork/internal/kvstore/kvstore.go

+ 0 - 4
libnetwork/internal/kvstore/kvstore.go

@@ -107,10 +107,6 @@ type LockOptions struct {
 	TTL   time.Duration // Optional, expiration ttl associated with the lock
 }
 
-// WatchCallback is used for watch methods on keys
-// and is triggered on key change
-type WatchCallback func(entries ...*KVPair)
-
 // Locker provides locking mechanism on top of the store.
 // Similar to `sync.Lock` except it may return errors.
 type Locker interface {