storage

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SPACE_SCHEME        = "space"
	SPACE_SCHEME_PREFIX = "space:"
)

Variables

View Source
var RootURI = &spaceURI{}

Functions

This section is empty.

Types

type DeltaURI

type DeltaURI interface {
	SpaceURI
	DeltaHash() []byte
}

func NewDeltaURI

func NewDeltaURI(fileHash, deltaHash []byte) DeltaURI

type FileURI

type FileURI interface {
	SpaceURI
	Meta() *spacego.Meta
}

func NewFileURI

func NewFileURI(fileHash []byte, meta *spacego.Meta) FileURI

type MetaURI

type MetaURI interface {
	SpaceURI
}

func NewMetaURI

func NewMetaURI(fileHash []byte) MetaURI

type PreviewURI

type PreviewURI interface {
	SpaceURI
	PreviewHash() []byte
}

func NewPreviewURI

func NewPreviewURI(fileHash, previewHash []byte) PreviewURI

type SpaceURI

type SpaceURI interface {
	fmt.Stringer
	fyne.URI
	FileHash() []byte
}

type TagURI

type TagURI interface {
	SpaceURI
	TagHash() []byte
}

func NewTagURI

func NewTagURI(fileHash, tagHash []byte) TagURI

Jump to

Keyboard shortcuts

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