s3

package
v0.7.16 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New added in v0.7.0

func New(c Config) *Client

func (*Client) PresignPutObject

func (c *Client) PresignPutObject(ctx context.Context, key string) (*PresignRequest, error)

func (*Client) PutObject

func (c *Client) PutObject(ctx context.Context, key string, content []byte) (*Object, error)

type Config added in v0.7.0

type Config struct {
	Bucket string
}

type Object

type Object struct {
	Key  string
	ETag string
}

type PresignRequest

type PresignRequest struct {
	URL string
}

Jump to

Keyboard shortcuts

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