s3

package
v0.0.0-...-e77dc18 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileUploader

func NewFileUploader(cfg UploaderCfg) *client

Types

type FileUploadRequest

type FileUploadRequest struct {
	Bucket      string
	Key         string
	Body        []byte
	ContentType string
}

type FileUploadResponse

type FileUploadResponse struct {
	URL string
}

type UploaderCfg

type UploaderCfg struct {
	Region    string
	Endpoint  string
	AccessKey string
	SecretKey string
}

Jump to

Keyboard shortcuts

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