storage

package
v0.0.0-...-88cc69c Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage struct {
	DB *gorm.DB
	// contains filtered or unexported fields
}

func NewStorage

func NewStorage(config *configs.Storage) (storage *Storage, err error)

func (*Storage) CreateDirIfNotExist

func (storage *Storage) CreateDirIfNotExist(path string) error

func (*Storage) InitStorageTable

func (storage *Storage) InitStorageTable() error

func (*Storage) Ping

func (storage *Storage) Ping() error

Jump to

Keyboard shortcuts

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