MCPcopy Create free account
hub / github.com/devfeel/dotweb / ClassicWithConf

Function ClassicWithConf

dotweb.go:145–149  ·  view source on GitHub ↗

ClassicWithConf create and return DotApp instance must set config info

(config *config.Config)

Source from the content-addressed store, hash-verified

143// ClassicWithConf create and return DotApp instance
144// must set config info
145func ClassicWithConf(config *config.Config) *DotWeb {
146 app := Classic(config.App.LogPath)
147 app.SetConfig(config)
148 return app
149}
150
151// Logger return app's logger
152func (app *DotWeb) Logger() logger.AppLog {

Callers

nothing calls this directly

Calls 2

ClassicFunction · 0.85
SetConfigMethod · 0.80

Tested by

no test coverage detected