local

package
v0.2.55 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LocalInit

func LocalInit() error

Types

type StorageLocal

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

func GetStorageLocal

func GetStorageLocal() (*StorageLocal, error)

func (*StorageLocal) GetObject

func (s *StorageLocal) GetObject(filename string) ([]byte, error)

func (*StorageLocal) GetStoragePath

func (s *StorageLocal) GetStoragePath(fileName string) string

func (*StorageLocal) Init

func (s *StorageLocal) Init() error

func (*StorageLocal) PutObject

func (s *StorageLocal) PutObject(filename string, value []byte) (string, error)

Jump to

Keyboard shortcuts

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