rproxy3/storage/db.go

15 lines
245 B
Go
Executable File

package storage
import (
"errors"
"local/rproxy3/storage/packable"
)
var ErrNotFound = errors.New("not found")
type DB interface {
Get(string, string, packable.Packable) error
Set(string, string, packable.Packable) error
Close() error
}