s3

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UploadToS3

func UploadToS3(s3config S3Config, data []byte) error

Types

type S3Config

type S3Config struct {
	AccessKey     string `json:"accessKey"`
	SecretKey     string `json:"secretKey"`
	Region        string `json:"region"`
	Bucket        string `json:"bucket"`
	RequestFormat string `json:"requestFormat"`
	RequestMethod string `json:"requestMethod"`
}

Jump to

Keyboard shortcuts

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