aicra/internal/config/defaults.go

22 lines
376 B
Go
Raw Permalink Normal View History

package config
2018-10-07 09:14:54 +00:00
// Default contains the default values when omitted in json
var Default = Schema{
Root: ".",
Host: "0.0.0.0",
Port: 80,
DriverName: "",
Types: &builder{
2018-10-01 12:02:09 +00:00
Default: true,
Folder: "type",
},
Controllers: &builder{
2018-10-01 12:02:09 +00:00
Default: false,
Folder: "controller",
},
Middlewares: &builder{
2018-10-01 12:02:09 +00:00
Default: false,
Folder: "middleware",
},
}