Documentation ¶
Index ¶
- Variables
- func Advise()
- func Check() bool
- func DaemonInit()
- func DaemonSysAttr() *syscall.SysProcAttr
- func SetAffinity(pid int, cpu int) bool
- func SetBuffered(rawConn syscall.RawConn, buffered bool)
- func SetDeferAccept(rawConn syscall.RawConn) (err error)
- func SetReusePort(rawConn syscall.RawConn) (err error)
- type TCPInfo
- type TCPState
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ExePath string ExeDir string )
Functions ¶
func DaemonInit ¶
func DaemonInit()
func DaemonSysAttr ¶
func DaemonSysAttr() *syscall.SysProcAttr
func SetAffinity ¶
func SetBuffered ¶
func SetDeferAccept ¶
func SetReusePort ¶
Types ¶
type TCPInfo ¶
type TCPInfo struct {
State TCPState
}
TCPInfo TCP statistics for a specified socket. link: /usr/include/netinet/tcp.h
func GetTCPInfo ¶
func (*TCPInfo) IsEstablished ¶
Click to show internal directories.
Click to hide internal directories.