Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(opts ...EncryptedInterceptor) listener.Interceptor
Types ¶
type EncryptedInterceptor ¶
type EncryptedInterceptor interface {
// contains filtered or unexported methods
}
func WithBypassRequest ¶
func WithBypassRequest(req map[string]bool) EncryptedInterceptor
func WithMustBeEncrypted ¶
func WithMustBeEncrypted(enc bool) EncryptedInterceptor
type Interceptor ¶
type Interceptor struct {
// contains filtered or unexported fields
}
func (*Interceptor) Handler ¶
func (c *Interceptor) Handler(h http.Handler) http.Handler
Handler - skip http request
func (*Interceptor) Name ¶
func (c *Interceptor) Name() string
func (*Interceptor) StreamServerInterceptor ¶
func (c *Interceptor) StreamServerInterceptor() grpc.StreamServerInterceptor
func (*Interceptor) UnaryServerInterceptor ¶
func (c *Interceptor) UnaryServerInterceptor() grpc.UnaryServerInterceptor
Click to show internal directories.
Click to hide internal directories.