Documentation ¶
Index ¶
- Variables
- func AllowCORS(logger mlog.Logger, h http.Handler) http.Handler
- func AuthStreamServerInterceptor() grpc.StreamServerInterceptor
- func AuthUnaryServerInterceptor() grpc.UnaryServerInterceptor
- func HttpCache(h http.Handler) http.Handler
- func LoggerUnaryServerInterceptor(logger mlog.Logger) ...
- func MetricsServerInterceptor(logger mlog.Logger) ...
- func MetricsStreamServerInterceptor(logger mlog.Logger) func(srv any, ss grpc.ServerStream, info *grpc.StreamServerInfo, ...) error
- func Recovery(logger mlog.Logger, h http.Handler) http.Handler
- func RouteLogger(logger mlog.Logger, h http.Handler) http.Handler
- func ValidatorStreamServerInterceptor() grpc.StreamServerInterceptor
- func ValidatorUnaryServerInterceptor() grpc.UnaryServerInterceptor
- type Authorize
- type Validator
Constants ¶
This section is empty.
Variables ¶
View Source
var Etag string
Functions ¶
func AuthStreamServerInterceptor ¶
func AuthStreamServerInterceptor() grpc.StreamServerInterceptor
func AuthUnaryServerInterceptor ¶
func AuthUnaryServerInterceptor() grpc.UnaryServerInterceptor
func MetricsStreamServerInterceptor ¶
func MetricsStreamServerInterceptor(logger mlog.Logger) func(srv any, ss grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error
func ValidatorStreamServerInterceptor ¶
func ValidatorStreamServerInterceptor() grpc.StreamServerInterceptor
func ValidatorUnaryServerInterceptor ¶
func ValidatorUnaryServerInterceptor() grpc.UnaryServerInterceptor
Types ¶
Click to show internal directories.
Click to hide internal directories.