mirror of https://github.com/gofiber/fiber.git
📝 Fix description
parent
9b630585c4
commit
855881e0a2
5
app.go
5
app.go
|
@ -2,6 +2,11 @@
|
|||
// 🤖 Github Repository: https://github.com/gofiber/fiber
|
||||
// 📌 API Documentation: https://docs.gofiber.io
|
||||
|
||||
// Package fiber
|
||||
// Fiber is an Express inspired web framework built on top of Fasthttp,
|
||||
// the fastest HTTP engine for Go. Designed to ease things up for fast
|
||||
// development with zero memory allocation and performance in mind.
|
||||
|
||||
package fiber
|
||||
|
||||
import (
|
||||
|
|
14
reuseport.go
14
reuseport.go
|
@ -1,11 +1,4 @@
|
|||
// +build !windows
|
||||
|
||||
// Package reuseport provides TCP net.Listener with SO_REUSEPORT support.
|
||||
//
|
||||
// SO_REUSEPORT allows linear scaling server performance on multi-CPU servers.
|
||||
// See https://www.nginx.com/blog/socket-sharding-nginx-release-1-9-1/ for more details :)
|
||||
//
|
||||
// The package is based on https://github.com/kavu/go_reuseport .
|
||||
package fiber
|
||||
|
||||
import (
|
||||
|
@ -15,6 +8,13 @@ import (
|
|||
tcplisten "github.com/valyala/tcplisten"
|
||||
)
|
||||
|
||||
// reuseport provides TCP net.Listener with SO_REUSEPORT support.
|
||||
//
|
||||
// SO_REUSEPORT allows linear scaling server performance on multi-CPU servers.
|
||||
// See https://www.nginx.com/blog/socket-sharding-nginx-release-1-9-1/ for more details :)
|
||||
//
|
||||
// The package is based on https://github.com/kavu/go_reuseport .
|
||||
|
||||
// Listen returns TCP listener with SO_REUSEPORT option set.
|
||||
//
|
||||
// The returned listener tries enabling the following TCP options, which usually
|
||||
|
|
Loading…
Reference in New Issue