s3

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 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 NewClient

func NewClient(bucket string) *Client

func (*Client) PresignPutObject

func (c *Client) PresignPutObject(key string) (*PresignRequest, error)

func (*Client) PutObject

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

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