hotslogs

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2017 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	S3BucketName   = "heroesreplays"
	S3BucketRegion = "us-west-2"
)

Variables

View Source
var (
	StaticCredentials = credentials.NewStaticCredentials(accessKeyID, secretAccessKey, "")
)

Functions

func GetUploadResult

func GetUploadResult(key string) (string, error)

func ListNewReplays

func ListNewReplays(replayDir string, since time.Time) ([]string, error)

func UploadNewReplays

func UploadNewReplays(replayDir string, since time.Time) (map[string]int, error)

func UploadReplay

func UploadReplay(uploader *s3manager.Uploader, path string) (string, error)

func UploadReplayToS3

func UploadReplayToS3(uploader *s3manager.Uploader, key string, file io.Reader) error

func UploadReplays

func UploadReplays(uploader *s3manager.Uploader, paths []string) ([]string, []error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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