|
@@ -13,7 +13,7 @@ type Action struct {
|
|
|
Arguments []ActionArgument
|
|
Arguments []ActionArgument
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-// ActionArgument objects appear on Actions.
|
|
|
|
|
|
|
+// ActionArgument objects appear on Actions.
|
|
|
type ActionArgument struct {
|
|
type ActionArgument struct {
|
|
|
Name string
|
|
Name string
|
|
|
Title string
|
|
Title string
|
|
@@ -69,8 +69,8 @@ type Config struct {
|
|
|
Actions []Action `mapstructure:"actions"`
|
|
Actions []Action `mapstructure:"actions"`
|
|
|
Entities []Entity `mapstructure:"entities"`
|
|
Entities []Entity `mapstructure:"entities"`
|
|
|
CheckForUpdates bool
|
|
CheckForUpdates bool
|
|
|
- ShowFooter bool
|
|
|
|
|
- ShowNavigation bool
|
|
|
|
|
|
|
+ ShowFooter bool
|
|
|
|
|
+ ShowNavigation bool
|
|
|
ShowNewVersions bool
|
|
ShowNewVersions bool
|
|
|
Usergroups []UserGroup
|
|
Usergroups []UserGroup
|
|
|
DefaultPermissions DefaultPermissions
|
|
DefaultPermissions DefaultPermissions
|
|
@@ -80,9 +80,9 @@ type Config struct {
|
|
|
func DefaultConfig() *Config {
|
|
func DefaultConfig() *Config {
|
|
|
config := Config{}
|
|
config := Config{}
|
|
|
config.UseSingleHTTPFrontend = true
|
|
config.UseSingleHTTPFrontend = true
|
|
|
- config.ShowFooter = true
|
|
|
|
|
|
|
+ config.ShowFooter = true
|
|
|
config.ShowNavigation = true
|
|
config.ShowNavigation = true
|
|
|
- config.ShowNewVersions = true
|
|
|
|
|
|
|
+ config.ShowNewVersions = true
|
|
|
config.ListenAddressSingleHTTPFrontend = "0.0.0.0:1337"
|
|
config.ListenAddressSingleHTTPFrontend = "0.0.0.0:1337"
|
|
|
config.ListenAddressRestActions = "localhost:1338"
|
|
config.ListenAddressRestActions = "localhost:1338"
|
|
|
config.ListenAddressGrpcActions = "localhost:1339"
|
|
config.ListenAddressGrpcActions = "localhost:1339"
|