context

package
v0.0.0-...-dc92ef2 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearContext

func ClearContext()

ClearContext .

func ContextWithSpan

func ContextWithSpan(ctx context.Context) context.Context

ContextWithSpan .

func GetContext

func GetContext() context.Context

GetContext .

func RunWithContext

func RunWithContext(ctx context.Context, fn func(ctx context.Context))

RunWithContext .

func SetContext

func SetContext(ctx context.Context)

SetContext .

func StreamClientInterceptor

func StreamClientInterceptor() grpc.StreamClientInterceptor

StreamClientInterceptor stream client interceptor

func StreamServerInterceptor

func StreamServerInterceptor() grpc.StreamServerInterceptor

StreamServerInterceptor stream server interceptor

func UnaryClientInterceptor

func UnaryClientInterceptor() grpc.UnaryClientInterceptor

UnaryClientInterceptor unary client interceptor

func UnaryServerInterceptor

func UnaryServerInterceptor() grpc.UnaryServerInterceptor

UnaryServerInterceptor unary server interceptor

Types

This section is empty.

Jump to

Keyboard shortcuts

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