s3

package
v0.0.0-...-9296acd Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: MIT Imports: 10 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

func New(bucket string) *Client

func (*Client) Delete

func (cl *Client) Delete(key string) error

func (*Client) List

func (cl *Client) List() ([]string, error)

func (*Client) Put

func (cl *Client) Put(key, contentType string, data []byte) error

type ClientAPI

type ClientAPI interface {
	List() ([]string, error)
	Put(key, contentType string, data []byte) error
	Delete(key string) error
}

Jump to

Keyboard shortcuts

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