Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateInterceptor ¶
func ValidateInterceptor(ctx context.Context, req any, _ *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)
Types ¶
type AccessChecker ¶
type AccessChecker interface {
AccessCheck(ctx context.Context, req any, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)
}
func NewAccessChecker ¶
func NewAccessChecker(auth client.AuthService) AccessChecker
Click to show internal directories.
Click to hide internal directories.