interceptor

package
v0.0.0-...-81cdc2d Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GrpcClientTokenInterceptor

func GrpcClientTokenInterceptor(tokenData string) grpc.UnaryClientInterceptor

func GrpcServerMasterRoleInterceptor

func GrpcServerMasterRoleInterceptor() grpc.UnaryServerInterceptor

func GrpcServerTokenInterceptor

func GrpcServerTokenInterceptor(tokenData string) grpc.UnaryServerInterceptor

func GrpcStreamServerMasterRoleInterceptor

func GrpcStreamServerMasterRoleInterceptor() grpc.StreamServerInterceptor

func GrpcStreamServerTokenInterceptor

func GrpcStreamServerTokenInterceptor(tokenData string) grpc.StreamServerInterceptor

func HTTPSetMasterRoleInterceptor

func HTTPSetMasterRoleInterceptor() func(c *gin.Context)

func HTTPSourceAuthInterceptor

func HTTPSourceAuthInterceptor() func(c *gin.Context)

func HTTPTokenAuthInterceptor

func HTTPTokenAuthInterceptor(tokenData string) func(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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