ctx

package
v0.0.0-...-4346918 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextGetToken

func ContextGetToken(ctx context.Context) (*string, error)

func ContextWithToken

func ContextWithToken(ctx context.Context, tokenString string) context.Context

func UnaryClientInterceptor

func UnaryClientInterceptor(ctx context.Context, method string, req, reply interface{}, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption) error

Types

type JWTContextKeyType

type JWTContextKeyType string
const JWTContextKey JWTContextKeyType = "jwt-ctx"

Jump to

Keyboard shortcuts

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