auth

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SIGNING_KEY []byte
)

Functions

func JWT_AUTH_INTERCEPTOR

func JWT_AUTH_INTERCEPTOR(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)

func JWT_AUTH_MIDDLEWARE

func JWT_AUTH_MIDDLEWARE(ctx context.Context) (context.Context, error)

func SetContext

func SetContext(logger *zap.Logger, _rdb *redis.Client, key []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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