grpcctx

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package grpcctx provides context feature for GRPC.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ctx

type Ctx struct{}

func (Ctx) IncomingMap

func (c Ctx) IncomingMap(ctx context.Context) *gmap.Map

func (Ctx) IncomingToOutgoing

func (c Ctx) IncomingToOutgoing(ctx context.Context, keys ...string) context.Context

func (Ctx) NewIncoming

func (c Ctx) NewIncoming(ctx context.Context, data ...g.Map) context.Context

func (Ctx) NewOutgoing

func (c Ctx) NewOutgoing(ctx context.Context, data ...g.Map) context.Context

func (Ctx) OutgoingMap

func (c Ctx) OutgoingMap(ctx context.Context) *gmap.Map

func (Ctx) SetIncoming

func (c Ctx) SetIncoming(ctx context.Context, data g.Map) context.Context

func (Ctx) SetOutgoing

func (c Ctx) SetOutgoing(ctx context.Context, data g.Map) context.Context

Jump to

Keyboard shortcuts

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