internal

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2019 License: Apache-2.0, Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentGoRoutineId

func GetCurrentGoRoutineId() int64

func GetCurrentGoRoutineIsKoala

func GetCurrentGoRoutineIsKoala() bool

func RegisterOnAccept

func RegisterOnAccept(callback func(serverSocketFD int, clientSocketFD int, sa syscall.Sockaddr))

func RegisterOnClose

func RegisterOnClose(callback func(fd int))

func RegisterOnConnect

func RegisterOnConnect(callback func(fd int, sa syscall.Sockaddr))

func RegisterOnGoRoutineExit

func RegisterOnGoRoutineExit(callback func(goid int64))

func RegisterOnRecv

func RegisterOnRecv(callback func(fd int, net string, raddr net.Addr, span []byte))

func RegisterOnSend

func RegisterOnSend(callback func(fd int, net string, raddr net.Addr, span []byte))

func SetCurrentGoRoutineIsKoala

func SetCurrentGoRoutineIsKoala()

func SetDelegatedFromGoRoutineId

func SetDelegatedFromGoRoutineId(goid int64)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL