10797: Merge branch 'master' into 10797-ruby-2.3
[arvados.git] / services / ws / config.go
index e2d69d0c68a2586b64a830b1baaabc56137c6604..0faa863d82e361ccf8f61ed70dfb2c12a292a978 100644 (file)
@@ -6,7 +6,7 @@ import (
        "git.curoverse.com/arvados.git/sdk/go/arvados"
 )
 
-type Config struct {
+type wsConfig struct {
        Client    arvados.Client
        Postgres  pgConfig
        Listen    string
@@ -18,8 +18,8 @@ type Config struct {
        ServerEventQueue int
 }
 
-func DefaultConfig() Config {
-       return Config{
+func defaultConfig() wsConfig {
+       return wsConfig{
                Client: arvados.Client{
                        APIHost: "localhost:443",
                },