Former-commit-id: 33ddd4f93ab678d5b496a83088cfe35e61a6d49f
This commit is contained in:
Success Go 2020-01-08 12:56:35 +08:00
parent 58bb619e89
commit 228b5a66fc

View File

@ -564,7 +564,7 @@ func (app *Application) ConfigureHost(configurators ...host.Configurator) *Appli
return app
}
// NewHost accepts a standar *http.Server object,
// NewHost accepts a standard *http.Server object,
// completes the necessary missing parts of that "srv"
// and returns a new, ready-to-use, host (supervisor).
func (app *Application) NewHost(srv *http.Server) *host.Supervisor {