s3

package
v0.0.0-...-bd40a71 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDisabled = errors.New("object storage is not enabled for this server")

Functions

func Context

func Context(ctx context.Context, client *minio.Client) context.Context

func Enabled

func Enabled(conf ini.File) bool

func ForContext

func ForContext(ctx context.Context) *minio.Client

func Middleware

func Middleware(client *minio.Client) func(next http.Handler) http.Handler

func NewClient

func NewClient(conf ini.File) (*minio.Client, error)

func URL

func URL(conf ini.File, bucket string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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