You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bog/dataswamp/swampfile/repository.go

11 lines
311 B
Go

package swampfile
import "time"
type Repository interface {
Create(filename string, namespace_stub string) (SwampInFile, error)
Open(filename string, namespace_stub string) (SwampOutFile, error)
Delete(filename string, namespace_stub string)
DeleteOlderThan(namespace_stub string, ts time.Time) error
}