Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStorage ¶
NewStorage returns a connected Minio or DigitalOcean Spaces storage that implements storage.Backend.
func TrimHTTP ¶ added in v0.14.0
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.
Click to show internal directories.
Click to hide internal directories.