Documentation ¶
Index ¶
- func NewAccessGuard(authUseCase *usecase.AuthUseCase, trc trace.Tracer) grpc_auth.AuthFunc
- func NewDeviceId() grpc.UnaryServerInterceptor
- func StreamServerMetric(durationM metric.Float64Histogram, reqM metric.Int64Counter, ...) grpc.StreamServerInterceptor
- func UnaryServerMetric(durationM metric.Float64Histogram, reqM metric.Int64Counter, ...) grpc.UnaryServerInterceptor
- type MatcherFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAccessGuard ¶
func NewDeviceId ¶
func NewDeviceId() grpc.UnaryServerInterceptor
func StreamServerMetric ¶
func StreamServerMetric(durationM metric.Float64Histogram, reqM metric.Int64Counter, tracer trace.Tracer) grpc.StreamServerInterceptor
func UnaryServerMetric ¶
func UnaryServerMetric(durationM metric.Float64Histogram, reqM metric.Int64Counter, tracer trace.Tracer) grpc.UnaryServerInterceptor
Types ¶
type MatcherFunc ¶
type MatcherFunc func(ctx context.Context, callMeta interceptors.CallMeta) bool
func NewAccessMatcher ¶
func NewAccessMatcher(protectedRoutes []string) MatcherFunc
Click to show internal directories.
Click to hide internal directories.