encryption

package
v1.0.1003 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type CodecType

type CodecType int
const (
	None CodecType = iota
	Anonymous
	Box
)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL