Documentation
¶
Index ¶
- Variables
- func Context(ctx context.Context, client *s3.Client) context.Context
- func Enabled(conf ini.File) bool
- func ForContext(ctx context.Context) *s3.Client
- func Middleware(client *s3.Client) func(next http.Handler) http.Handler
- func NewClient(conf ini.File) (*s3.Client, error)
- func URL(conf ini.File) string
- type S3Resolver
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDisabled = errors.New("object storage is not enabled for this server")
Functions ¶
Types ¶
type S3Resolver ¶
type S3Resolver struct {
// contains filtered or unexported fields
}
func (*S3Resolver) ResolveEndpoint ¶
func (r *S3Resolver) ResolveEndpoint( ctx context.Context, params s3.EndpointParameters, ) (transport.Endpoint, error)
Click to show internal directories.
Click to hide internal directories.