Documentation ¶
Index ¶
- func ConnRead(conn *net.TCPConn, b []byte) (int, error)
- func ConnWrite(conn *net.TCPConn, b []byte) (int, error)
- func GetConnFD(conn *net.TCPConn) int
- func GetCurrentGoRoutineID() int64
- func RegisterOnClose(callback func(fd int))
- func SetDelegatedFromGoRoutineID(gID int64)
- func SyscallConnect(fd int, sa syscall.Sockaddr) (err error)
- func TimeNow() time.Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentGoRoutineID ¶
func GetCurrentGoRoutineID() int64
GetCurrentGoRoutineID GetCurrentGoRoutineID
func SetDelegatedFromGoRoutineID ¶ added in v0.0.7
func SetDelegatedFromGoRoutineID(gID int64)
SetDelegatedFromGoRoutineID SetDelegatedFromGoRoutineID
func SyscallConnect ¶
SyscallConnect origin syscall.Connect
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.