Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsBytes ¶ added in v2.2.1
AsBytes returns a slice that refers to the data backing the string s.
func AsString ¶ added in v2.2.1
AsString returns a string that refers to the data backing the slice s.
func CreateListener ¶
CreateListener
SO_REUSEPORT. This option allows linear scaling server performance on multi-CPU servers. See https://www.nginx.com/blog/socket-sharding-nginx-release-1-9-1/ for details.
TCP_DEFER_ACCEPT. This option expects the server reads from the accepted connection before writing to them.
TCP_FASTOPEN. See https://lwn.net/Articles/508865/ for details.
CreateListener crates socket listener based on DSN definition.
func ExecuteFromUser ¶
ExecuteFromUser may work only if run RR under root user
func IsolateProcess ¶
IsolateProcess change gpid for the process to avoid bypassing signals to php processes.
Types ¶
This section is empty.