auth

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Credentials

func Credentials(conf *Config, storages map[string]s3.Storage) []s3.CredentialsV4

func Middleware

func Middleware(conf *Config, storages map[string]s3.Storage) *middleware

Types

type Config

type Config struct {
	AllowV2Signature bool                        `yaml:"allowV2Signature"`
	UseStorage       string                      `yaml:"useStorage"`
	Custom           map[string]s3.CredentialsV4 `yaml:"custom"`
}

Jump to

Keyboard shortcuts

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