mirror of
https://github.com/jimeh/ozu.io.git
synced 2026-02-19 08:06:39 +00:00
11 lines
217 B
Go
11 lines
217 B
Go
package storage
|
|
|
|
// Storage defines a standard interface for storage.
|
|
type Store interface {
|
|
Close() error
|
|
Get([]byte) ([]byte, error)
|
|
Set([]byte, []byte) error
|
|
Delete([]byte) error
|
|
NextSequence() (int, error)
|
|
}
|