mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-28 14:59:49 -05:00
update config
This commit is contained in:
+10
-2
@@ -1,13 +1,21 @@
|
||||
// Package config should be moved to internal
|
||||
package config
|
||||
|
||||
// Config captures ocis-accounts configuration parameters
|
||||
// Server configures a server.
|
||||
type Server struct {
|
||||
Name string
|
||||
Namespace string
|
||||
Address string
|
||||
}
|
||||
|
||||
// Config merges all Account config parameters.
|
||||
type Config struct {
|
||||
MountPath string
|
||||
Manager string
|
||||
Server Server
|
||||
}
|
||||
|
||||
// New returns a new config
|
||||
// New returns a new config.
|
||||
func New() *Config {
|
||||
return &Config{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user