storage

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckBucket

func CheckBucket() bool

CheckBucket will make check to see if there is an active bucket

func CreateBucket

func CreateBucket() error

CreateBucket will make a folder for the bucket according to config.yaml

func Delete

func Delete(key string) error

Delete will delete a file from the bucket location

func Export

func Export() error

Export will take the bucket location and will zip it so it can be reused in another location

func FileExist

func FileExist(key string) bool

FileExist will check to see if a file exists with the key provided

Types

This section is empty.

Jump to

Keyboard shortcuts

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