storage

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StorageKeys = make([]types.StorageType, 0)
View Source
var Storages = make(map[types.StorageType]Storage)

Functions

func Init

func Init()

func Save

func Save(storageType types.StorageType, ctx context.Context, filePath, storagePath string) error

Types

type Storage

type Storage interface {
	Init()
	Save(cttx context.Context, filePath, storagePath string) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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