mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-03-18 15:37:07 -04:00
27 lines
729 B
Go
27 lines
729 B
Go
package config
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/owncloud/ocis/ocis-pkg/shared"
|
|
)
|
|
|
|
// Config combines all available configuration parts.
|
|
type Config struct {
|
|
*shared.Commons `ocisConfig:"-" yaml:"-"`
|
|
|
|
Service Service `ocisConfig:"-" yaml:"-"`
|
|
|
|
Tracing *Tracing `ocisConfig:"tracing"`
|
|
Log *Log `ocisConfig:"log"`
|
|
Debug Debug `ocisConfig:"debug"`
|
|
|
|
HTTP HTTP `ocisConfig:"http"`
|
|
|
|
OcisPublicURL string `ocisConfig:"ocis_public_url" env:"OCIS_URL;OCIS_PUBLIC_URL"`
|
|
WebdavNamespace string `ocisConfig:"webdav_namespace" env:"STORAGE_WEBDAV_NAMESPACE"` //TODO: prevent this cross config
|
|
RevaGateway string `ocisConfig:"reva_gateway" env:"REVA_GATEWAY"`
|
|
|
|
Context context.Context `ocisConfig:"-" yaml:"-"`
|
|
}
|