Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDenied = herodot.ErrUnauthorized
Functions ¶
This section is empty.
Types ¶
type Middleware ¶ added in v0.40.1
type Middleware interface {
UnaryInterceptor() grpc.UnaryServerInterceptor
StreamInterceptor() grpc.StreamServerInterceptor
}
type Option ¶
type Option func(*options)
func WithConfigFile ¶
WithConfigFile sets the path to the config file to use for the middleware.
func WithLogger ¶ added in v0.40.1
WithLogger sets the logger for the middleware.
Click to show internal directories.
Click to hide internal directories.