Documentation ¶
Index ¶
- func GrpcBlackListMiddleware(serviceDetail *dao.ServiceDetail) ...
- func GrpcFlowCountMiddleware(serviceDetail *dao.ServiceDetail) ...
- func GrpcFlowLimitMiddleware(serviceDetail *dao.ServiceDetail) ...
- func GrpcHeaderTransferMiddleware(serviceDetail *dao.ServiceDetail) ...
- func GrpcJwtAuthTokenMiddleware(serviceDetail *dao.ServiceDetail) ...
- func GrpcJwtFlowCountMiddleware(serviceDetail *dao.ServiceDetail) ...
- func GrpcJwtFlowLimitMiddleware(serviceDetail *dao.ServiceDetail) ...
- func GrpcWhiteListMiddleware(serviceDetail *dao.ServiceDetail) ...
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GrpcBlackListMiddleware ¶
func GrpcBlackListMiddleware(serviceDetail *dao.ServiceDetail) func(srv interface{}, ss grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error
匹配接入方式 基于请求信息
func GrpcFlowCountMiddleware ¶
func GrpcFlowCountMiddleware(serviceDetail *dao.ServiceDetail) func(srv interface{}, ss grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error
func GrpcFlowLimitMiddleware ¶
func GrpcFlowLimitMiddleware(serviceDetail *dao.ServiceDetail) func(srv interface{}, ss grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error
func GrpcHeaderTransferMiddleware ¶
func GrpcHeaderTransferMiddleware(serviceDetail *dao.ServiceDetail) func(srv interface{}, ss grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error
匹配接入方式 基于请求信息
func GrpcJwtAuthTokenMiddleware ¶
func GrpcJwtAuthTokenMiddleware(serviceDetail *dao.ServiceDetail) func(srv interface{}, ss grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error
jwt auth token
func GrpcJwtFlowCountMiddleware ¶
func GrpcJwtFlowCountMiddleware(serviceDetail *dao.ServiceDetail) func(srv interface{}, ss grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error
func GrpcJwtFlowLimitMiddleware ¶
func GrpcJwtFlowLimitMiddleware(serviceDetail *dao.ServiceDetail) func(srv interface{}, ss grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error
func GrpcWhiteListMiddleware ¶
func GrpcWhiteListMiddleware(serviceDetail *dao.ServiceDetail) func(srv interface{}, ss grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error
匹配接入方式 基于请求信息
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.