erigon-pulse/cl/freezer/freezer.go

17 lines
317 B
Go
Raw Normal View History

package freezer
import "io"
type Freezer interface {
Getter
Putter
}
type Getter interface {
Get(namespace, object, id string, extra ...string) (data io.ReadCloser, sidecar []byte, err error)
}
type Putter interface {
Put(data io.Reader, sidecar []byte, namespace, object, id string, extra ...string) error
}