grpcv3

package
v0.7.0-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(
	fx.Invoke(registerHooks),
)

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func (*Handler) Check

type RequestContext

type RequestContext struct {
	// contains filtered or unexported fields
}

func NewRequestContext

func NewRequestContext(ctx context.Context, req *envoy_auth.CheckRequest, signer heimdall.JWTSigner) *RequestContext

func (*RequestContext) AddCookieForUpstream

func (s *RequestContext) AddCookieForUpstream(name, value string)

func (*RequestContext) AddHeaderForUpstream

func (s *RequestContext) AddHeaderForUpstream(name, value string)

func (*RequestContext) AppContext

func (s *RequestContext) AppContext() context.Context

func (*RequestContext) Finalize

func (s *RequestContext) Finalize() (*envoy_auth.CheckResponse, error)

func (*RequestContext) RequestBody

func (s *RequestContext) RequestBody() []byte

func (*RequestContext) RequestClientIPs

func (s *RequestContext) RequestClientIPs() []string

func (*RequestContext) RequestCookie

func (s *RequestContext) RequestCookie(name string) string

func (*RequestContext) RequestFormParameter

func (s *RequestContext) RequestFormParameter(name string) string

func (*RequestContext) RequestHeader

func (s *RequestContext) RequestHeader(name string) string

func (*RequestContext) RequestHeaders

func (s *RequestContext) RequestHeaders() map[string]string

func (*RequestContext) RequestMethod

func (s *RequestContext) RequestMethod() string

func (*RequestContext) RequestQueryParameter

func (s *RequestContext) RequestQueryParameter(name string) string

func (*RequestContext) RequestURL

func (s *RequestContext) RequestURL() *url.URL

func (*RequestContext) SetPipelineError

func (s *RequestContext) SetPipelineError(err error)

func (*RequestContext) Signer

func (s *RequestContext) Signer() heimdall.JWTSigner

Directories

Path Synopsis
middleware

Jump to

Keyboard shortcuts

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