Documentation ¶
Index ¶
- type RequestContext
- func (s *RequestContext) AddCookieForUpstream(name, value string)
- func (s *RequestContext) AddHeaderForUpstream(name, value string)
- func (s *RequestContext) AppContext() context.Context
- func (s *RequestContext) Finalize() error
- func (s *RequestContext) FinalizeAndForward(upstreamURL *url.URL, timeout time.Duration) error
- func (s *RequestContext) RequestBody() []byte
- func (s *RequestContext) RequestClientIPs() []string
- func (s *RequestContext) RequestCookie(name string) string
- func (s *RequestContext) RequestFormParameter(name string) string
- func (s *RequestContext) RequestHeader(name string) string
- func (s *RequestContext) RequestHeaders() map[string]string
- func (s *RequestContext) RequestMethod() string
- func (s *RequestContext) RequestQueryParameter(name string) string
- func (s *RequestContext) RequestURL() *url.URL
- func (s *RequestContext) SetPipelineError(err error)
- func (s *RequestContext) Signer() heimdall.JWTSigner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestContext ¶
type RequestContext struct {
// contains filtered or unexported fields
}
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() error
func (*RequestContext) FinalizeAndForward ¶
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
Click to show internal directories.
Click to hide internal directories.