portal/interfaces/storage.go

9 lines
155 B
Go

package interfaces
import "io"
type StorageService interface {
Init()
PutFile(file io.ReadSeeker, bucket string, generateProof bool) ([]byte, error)
}