Document sorted.Wiper more.

Change-Id: Iede5cf3ec12453910594c682a3a18f8c237fbd40
This commit is contained in:
Brad Fitzpatrick 2013-12-13 11:18:27 +04:00
parent 9f8e9e57fd
commit bf203d6ff7
1 changed files with 4 additions and 0 deletions

View File

@ -62,7 +62,11 @@ type KeyValue interface {
Close() error
}
// Wiper is an optional interface that may be implemented by storage
// implementations.
type Wiper interface {
KeyValue
// Wipe removes all key/value pairs.
Wipe() error
}