NewConfig create new config
()
| 132 | |
| 133 | // NewConfig create new config |
| 134 | func NewConfig() *Config { |
| 135 | return &Config{ |
| 136 | App: NewAppNode(), |
| 137 | Server: NewServerNode(), |
| 138 | Session: NewSessionNode(), |
| 139 | ConfigSet: core.NewReadonlyMap(), |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | // IncludeConfigSet include ConfigSet file to Dotweb.Config.ConfigSet, can use ctx.ConfigSet to use your data |
| 144 | // same key will cover oldest value |
no test coverage detected