store

package
v0.0.0-...-7354109 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Cache

type Cache interface {
	GetFile(name string) (string, error)
	GetFolder(name string) (string, error)
}

type Files

type Files struct {
	*blob.Bucket
	Location string
}

func NewBucket

func NewBucket(cache Cache) (*Files, error)

type FolderCache

type FolderCache struct {
	// contains filtered or unexported fields
}

func NewFolderCache

func NewFolderCache() (*FolderCache, error)

func (*FolderCache) GetFile

func (c *FolderCache) GetFile(name string) (string, error)

func (*FolderCache) GetFolder

func (c *FolderCache) GetFolder(name string) (string, error)

type TextStore

type TextStore struct {
}

func NewTextStore

func NewTextStore() (*TextStore, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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