mirror of https://github.com/gofiber/fiber.git
📃 Fix typo
parent
d2577a9643
commit
9b630585c4
4
app.go
4
app.go
|
@ -418,9 +418,9 @@ func (app *App) Serve(ln net.Listener, tlsconfig ...*tls.Config) error {
|
|||
}
|
||||
|
||||
// Listener can be used to pass a custom listener
|
||||
// This method does not support the Prefork feature
|
||||
// Prefork is not supported using app.Serve(ln net.Listener)
|
||||
// You can pass an optional *tls.Config to enable TLS.
|
||||
// This method does not support the Prefork feature
|
||||
// To use Prefork, please use app.Listen()
|
||||
func (app *App) Listener(ln net.Listener, tlsconfig ...*tls.Config) error {
|
||||
// Update fiber server settings
|
||||
app.init()
|
||||
|
|
|
@ -126,7 +126,6 @@ func usage() {
|
|||
if f.Name == flagChild[1:] {
|
||||
return
|
||||
}
|
||||
|
||||
s := fmt.Sprintf(" -%s", f.Name) // Two spaces before -; see next two comments.
|
||||
name, usage := flag.UnquoteUsage(f)
|
||||
if len(name) > 0 {
|
||||
|
|
Loading…
Reference in New Issue