package
1.72.0-dev
Repository: https://github.com/grpc/grpc-go.git
Documentation: pkg.go.dev

# Functions

CheckGoroutines looks at the currently-running goroutines and checks if there are any interesting (created by gRPC) goroutines leaked.
CheckTrackingBufferPool undoes the effects of SetTrackingBufferPool, and fails unit tests if not all buffers were returned.
NewLeakChecker offers a convenient way to set up the leak checks for a specific unit test.
RegisterIgnoreGoroutine appends s into the ignore goroutine list.
SetTrackingBufferPool replaces the default buffer pool in the mem package to one that tracks where buffers are allocated.

# Structs

LeakChecker captures a Logger and is returned by NewLeakChecker as a convenient method to set up leak check tests in a unit test.

# Interfaces

Logger is the interface that wraps the Logf and Errorf method.