app

package
v0.0.0-...-5d38aa0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Storage      *storage_client.StorageClient
	AppEnvConfig *env_config.AppEnvConfig
}

func (*App) DownloadFile

func (app *App) DownloadFile(ctx context.Context, name string) (error, io.Reader)

func (*App) UploadFile

func (app *App) UploadFile(ctx context.Context, fileName string, reader io.Reader, size int64) error

Basic file upload into the database and S3

Jump to

Keyboard shortcuts

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