aboutsummaryrefslogtreecommitdiff
path: root/reuseport
diff options
context:
space:
mode:
authorGravatar Aliaksandr Valialkin <valyala@gmail.com> 2015-12-03 13:11:15 +0200
committerGravatar Aliaksandr Valialkin <valyala@gmail.com> 2015-12-03 13:11:15 +0200
commitce603344f862515411b911f6c7617e98309fae1f (patch)
tree84fa3f9f5934d1a376e4f96b6bf0bb44f8b1c590 /reuseport
parentIssue #13: add a (k,v) storage inside RequestCtx for user values, which may p... (diff)
downloadfasthttp-ce603344f862515411b911f6c7617e98309fae1f.tar.gz
fasthttp-ce603344f862515411b911f6c7617e98309fae1f.tar.bz2
fasthttp-ce603344f862515411b911f6c7617e98309fae1f.zip
Added build tag to reuseport.go since it includes syscall package (accoding to https://www.youtube.com/watch?v=PAAkCSZUG1c :) )
Diffstat (limited to 'reuseport')
-rw-r--r--reuseport/reuseport.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/reuseport/reuseport.go b/reuseport/reuseport.go
index ee33f7d..a6eee39 100644
--- a/reuseport/reuseport.go
+++ b/reuseport/reuseport.go
@@ -1,3 +1,5 @@
+// +build linux darwin dragonfly freebsd netbsd openbsd
+
// Package reuseport provides TCP net.Listener with SO_REUSEPORT support.
//
// SO_REUSEPORT allows linear scaling server performance on multi-CPU servers.