tagging

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2025 License: Apache-2.0 Imports: 3 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextWithIOTag

func ContextWithIOTag(parent context.Context, ioTag string) context.Context

func IOTagFromContext

func IOTagFromContext(ctx context.Context) (string, bool)

func NewStreamClientInterceptor

func NewStreamClientInterceptor() grpc.StreamClientInterceptor

NewStreamClientInterceptor creates new gRPC stream interceptor to set an IO tag to gRPC metadata.

func NewStreamServerInterceptor

func NewStreamServerInterceptor() grpc.StreamServerInterceptor

NewStreamServerInterceptor creates new gRPC stream interceptor to extract an IO tag to gRPC metadata.

func NewUnaryClientInterceptor

func NewUnaryClientInterceptor() grpc.UnaryClientInterceptor

NewUnaryClientInterceptor creates new gRPC unary interceptor to set an IO tag to gRPC metadata.

func NewUnaryServerInterceptor

func NewUnaryServerInterceptor() grpc.UnaryServerInterceptor

NewUnaryServerInterceptor creates new gRPC unary interceptor to extract an IO tag to gRPC metadata.

Types

This section is empty.

Jump to

Keyboard shortcuts

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