storage

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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