Documentation ¶
Index ¶
- func New(opts ...Option) grpc.UnaryServerInterceptor
- type Option
- func WithAuthenticationErrorCode(code int) Option
- func WithAuthorizationErrorCode(code int) Option
- func WithCommunicationErrorCode(code int) Option
- func WithInternalServerErrorCode(code int) Option
- func WithMethodErrorCode(code int) Option
- func WithNoRuleErrorCode(code int) Option
- func WithPreconditionErrorCode(code int) Option
- func WithVerboseErrors(flag bool) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(opts ...Option) grpc.UnaryServerInterceptor
Types ¶
type Option ¶
type Option func(*opts)
func WithMethodErrorCode ¶
func WithNoRuleErrorCode ¶
func WithVerboseErrors ¶
Click to show internal directories.
Click to hide internal directories.