hook

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentGoRoutineID

func GetCurrentGoRoutineID() int64

GetCurrentGoRoutineID GetCurrentGoRoutineID

func RegisterOnClose

func RegisterOnClose(callback func(fd int))

RegisterOnClose RegisterOnClose

func RegisterOnConnect

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

RegisterOnConnect RegisterOnConnect

func RegisterOnGoRoutineExit

func RegisterOnGoRoutineExit(callback func(goid int64))

RegisterOnGoRoutineExit RegisterOnGoRoutineExit

func RegisterOnGrpcAccept

func RegisterOnGrpcAccept(ip []byte, port int)

RegisterOnGrpcAccept RegisterOnGrpcAccept called by grpc/server.go

func RegisterOnGrpcRecv

func RegisterOnGrpcRecv(span []byte)

RegisterOnGrpcRecv RegisterOnGrpcRecv called by grpc/server.go

func RegisterOnGrpcSend

func RegisterOnGrpcSend(span []byte)

RegisterOnGrpcSend RegisterOnGrpcSend called by grpc/server.go

func RegisterOnRecv

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

RegisterOnRecv RegisterOnRecv

func RegisterOnSend

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

RegisterOnSend RegisterOnSend

func Start

func Start()

Start start hook

Types

This section is empty.

Jump to

Keyboard shortcuts

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