Documentation ¶
Overview ¶
Package grpcctx provides context feature for GRPC.
Index ¶
- type Ctx
- func (c Ctx) IncomingMap(ctx context.Context) *gmap.Map
- func (c Ctx) IncomingToOutgoing(ctx context.Context, keys ...string) context.Context
- func (c Ctx) NewIncoming(ctx context.Context, data ...g.Map) context.Context
- func (c Ctx) NewOutgoing(ctx context.Context, data ...g.Map) context.Context
- func (c Ctx) OutgoingMap(ctx context.Context) *gmap.Map
- func (c Ctx) SetIncoming(ctx context.Context, data g.Map) context.Context
- func (c Ctx) SetOutgoing(ctx context.Context, data g.Map) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ctx ¶
type Ctx struct{}
func (Ctx) IncomingToOutgoing ¶
func (Ctx) NewIncoming ¶
func (Ctx) NewOutgoing ¶
Click to show internal directories.
Click to hide internal directories.