Documentation ¶
Index ¶
- func GetCurrentGoRoutineId() int64
- func GetCurrentGoRoutineIsKoala() bool
- func RegisterOnAccept(callback func(serverSocketFD int, clientSocketFD int, sa syscall.Sockaddr))
- func RegisterOnClose(callback func(fd int))
- func RegisterOnConnect(callback func(fd int, sa syscall.Sockaddr))
- func RegisterOnGoRoutineExit(callback func(goid int64))
- func RegisterOnRecv(callback func(fd int, net string, raddr net.Addr, span []byte))
- func RegisterOnSend(callback func(fd int, net string, raddr net.Addr, span []byte))
- func SetCurrentGoRoutineIsKoala()
- func SetDelegatedFromGoRoutineId(goid int64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentGoRoutineId ¶
func GetCurrentGoRoutineId() int64
func GetCurrentGoRoutineIsKoala ¶
func GetCurrentGoRoutineIsKoala() bool
func RegisterOnAccept ¶
func RegisterOnClose ¶
func RegisterOnClose(callback func(fd int))
func RegisterOnConnect ¶
func RegisterOnGoRoutineExit ¶
func RegisterOnGoRoutineExit(callback func(goid int64))
func RegisterOnRecv ¶
func RegisterOnSend ¶
func SetCurrentGoRoutineIsKoala ¶
func SetCurrentGoRoutineIsKoala()
func SetDelegatedFromGoRoutineId ¶
func SetDelegatedFromGoRoutineId(goid int64)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.