grpclog

package
v2.19.2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

grpclog provides a logging utilities for gRPC.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogStateChangesUntilReady added in v2.9.0

func LogStateChangesUntilReady(ctx context.Context, conn getStater, log debugLog, wg *sync.WaitGroup, isReadyCallback func())

LogStateChangesUntilReady logs the state changes of a gRPC connection.

func PeerAddrFromContext

func PeerAddrFromContext(ctx context.Context) string

PeerAddrFromContext returns a peer's address from context, or "unknown" if not found.

Types

This section is empty.

Jump to

Keyboard shortcuts

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