Documentation ¶
Index ¶
- func GrpcAuthStreamInterceptor(srv interface{}, ss grpc.ServerStream, info *grpc.StreamServerInfo, ...) error
- func GrpcBlacListMiddleware(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 GrpcWhileListMiddleware(serviceDetail *dao.ServiceDetail) ...
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GrpcAuthStreamInterceptor ¶
func GrpcAuthStreamInterceptor(srv interface{}, ss grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error
流式RPC拦截器
func GrpcBlacListMiddleware ¶
func GrpcBlacListMiddleware(serviceDetail *dao.ServiceDetail) func(interface{}, grpc.ServerStream, *grpc.StreamServerInfo, grpc.StreamHandler) error
func GrpcFlowCountMiddleware ¶
func GrpcFlowCountMiddleware(serviceDetail *dao.ServiceDetail) func(interface{}, grpc.ServerStream, *grpc.StreamServerInfo, grpc.StreamHandler) error
func GrpcFlowLimitMiddleware ¶
func GrpcFlowLimitMiddleware(serviceDetail *dao.ServiceDetail) func(interface{}, grpc.ServerStream, *grpc.StreamServerInfo, grpc.StreamHandler) error
func GrpcHeaderTransferMiddleware ¶
func GrpcHeaderTransferMiddleware(serviceDetail *dao.ServiceDetail) func(interface{}, grpc.ServerStream, *grpc.StreamServerInfo, grpc.StreamHandler) error
func GrpcJwtAuthTokenMiddleware ¶
func GrpcJwtAuthTokenMiddleware(serviceDetail *dao.ServiceDetail) func(interface{}, grpc.ServerStream, *grpc.StreamServerInfo, grpc.StreamHandler) error
func GrpcJwtFlowCountMiddleware ¶
func GrpcJwtFlowCountMiddleware(serviceDetail *dao.ServiceDetail) func(interface{}, grpc.ServerStream, *grpc.StreamServerInfo, grpc.StreamHandler) error
func GrpcJwtFlowLimitMiddleware ¶
func GrpcJwtFlowLimitMiddleware(serviceDetail *dao.ServiceDetail) func(interface{}, grpc.ServerStream, *grpc.StreamServerInfo, grpc.StreamHandler) error
func GrpcWhileListMiddleware ¶
func GrpcWhileListMiddleware(serviceDetail *dao.ServiceDetail) func(interface{}, grpc.ServerStream, *grpc.StreamServerInfo, grpc.StreamHandler) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.