doc nit
This commit is contained in:
parent
9aca7f00c4
commit
e79c66960f
@ -102,9 +102,8 @@ func (a *App) Wait() error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Serve will serve the given pairs of addresses and listeners and
|
// Serve will serve the given http.Servers and will monitor for signals
|
||||||
// will monitor for signals allowing for graceful termination (SIGTERM)
|
// allowing for graceful termination (SIGTERM) or restart (SIGUSR2).
|
||||||
// or restart (SIGUSR2).
|
|
||||||
func Serve(servers ...*http.Server) error {
|
func Serve(servers ...*http.Server) error {
|
||||||
app := &App{Servers: servers}
|
app := &App{Servers: servers}
|
||||||
inherited, err := app.Listen()
|
inherited, err := app.Listen()
|
||||||
|
Loading…
Reference in New Issue
Block a user