minio

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStorage

func NewStorage(conf *config.MinioConfig, timeout time.Duration) (storage.Backend, error)

NewStorage returns a connected Minio or DigitalOcean Spaces storage that implements storage.Backend.

func TrimHTTP added in v0.14.0

func TrimHTTP(s string) string

TrimHTTP trims "http://" or "https://" prefix from input string. Minio doesn't need to specify protocol in the URL so it should be trimmed. Related issue: https://github.com/gomods/athens/issues/1938#issuecomment-2067590653

Types

This section is empty.

Jump to

Keyboard shortcuts

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