mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-29 00:11:21 -05:00
30 lines
496 B
Go
30 lines
496 B
Go
// Package config should be moved to internal
|
|
package config
|
|
|
|
// Server configures a server.
|
|
type Server struct {
|
|
Name string
|
|
Namespace string
|
|
Address string
|
|
}
|
|
|
|
// Log defines the available logging configuration.
|
|
type Log struct {
|
|
Level string
|
|
Pretty bool
|
|
Color bool
|
|
}
|
|
|
|
// Config merges all Account config parameters.
|
|
type Config struct {
|
|
MountPath string
|
|
Manager string
|
|
Server Server
|
|
Log Log
|
|
}
|
|
|
|
// New returns a new config.
|
|
func New() *Config {
|
|
return &Config{}
|
|
}
|