files

package
v0.0.0-...-e95280a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	List() ([]hash.Hash, error)
	ListIDs() ([]*uuid.UUID, error)
	Retrieve(name string) (interface{}, error)
}

Repository represents a file repository

type Service

type Service interface {
	Insert(name string, data interface{}) error
	Update(name string, data interface{}) error
	Delete(name string) error
}

Service represents a file service

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL