mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-07 04:41:31 -05:00
28 lines
546 B
Go
28 lines
546 B
Go
package config
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/opencloud-eu/opencloud/pkg/shared"
|
|
)
|
|
|
|
// Config combines all available configuration parts.
|
|
type Config struct {
|
|
Commons *shared.Commons `yaml:"-"` // don't use this directly as configuration for a service
|
|
|
|
Service Service `yaml:"-"`
|
|
|
|
Log *Log `yaml:"log"`
|
|
Debug Debug `yaml:"debug"`
|
|
|
|
HTTP HTTP `yaml:"http"`
|
|
|
|
Authentication AuthenticationAPI `yaml:"authentication_api"`
|
|
|
|
Context context.Context `yaml:"-"`
|
|
}
|
|
|
|
type AuthenticationAPI struct {
|
|
JwkEndpoint string `yaml:"jwk_endpoint"`
|
|
}
|