Documentation ¶
Index ¶
- Constants
- Variables
- func GetUploadResult(key string) (string, error)
- func ListNewReplays(replayDir string, since time.Time) ([]string, error)
- func UploadNewReplays(replayDir string, since time.Time) (map[string]int, error)
- func UploadReplay(uploader *s3manager.Uploader, path string) (string, error)
- func UploadReplayToS3(uploader *s3manager.Uploader, key string, file io.Reader) error
- func UploadReplays(uploader *s3manager.Uploader, paths []string) ([]string, []error)
Constants ¶
View Source
const ( S3BucketName = "heroesreplays" S3BucketRegion = "us-west-2" )
Variables ¶
View Source
var (
StaticCredentials = credentials.NewStaticCredentials(accessKeyID, secretAccessKey, "")
)
Functions ¶
func GetUploadResult ¶
func UploadNewReplays ¶
func UploadReplayToS3 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.