Documentation ¶
Index ¶
- func GrpcClientTokenInterceptor(tokenData string) grpc.UnaryClientInterceptor
- func GrpcServerMasterRoleInterceptor() grpc.UnaryServerInterceptor
- func GrpcServerTokenInterceptor(tokenData string) grpc.UnaryServerInterceptor
- func GrpcStreamServerMasterRoleInterceptor() grpc.StreamServerInterceptor
- func GrpcStreamServerTokenInterceptor(tokenData string) grpc.StreamServerInterceptor
- func HTTPSetMasterRoleInterceptor() func(c *gin.Context)
- func HTTPSourceAuthInterceptor() func(c *gin.Context)
- func HTTPTokenAuthInterceptor(tokenData string) func(c *gin.Context)
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.