storage

package
v0.6.1-0...-efaa8b1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3StorageManager

type S3StorageManager struct {
}

func (*S3StorageManager) GetAsset

func (mgr *S3StorageManager) GetAsset(name string) (string, error)

func (*S3StorageManager) GetScript

func (mgr *S3StorageManager) GetScript(name string) (string, error)

func (*S3StorageManager) PutAsset

func (mgr *S3StorageManager) PutAsset(filename string) error

func (*S3StorageManager) PutScript

func (mgr *S3StorageManager) PutScript(filename string) error

type StorageManager

type StorageManager interface {
	GetScript(filename string) (string, error)
	GetAsset(filename string) (string, error)
	PutScript(filename string) error
	PutAsset(filename string) error
}

func GetStorage

func GetStorage() StorageManager

Jump to

Keyboard shortcuts

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