Documentation ¶
Overview ¶
Copyright © 2023 The Spray Proxy Contributors
SPDX-License-Identifier: Apache-2.0
Copyright © 2023 The Spray Proxy Contributors ¶
SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendsFunc ¶
type BackendsFunc func() []string
type SprayProxy ¶
type SprayProxy struct {
// contains filtered or unexported fields
}
func NewSprayProxy ¶
func NewSprayProxy(insecureTLS bool, backends ...string) (*SprayProxy, error)
func (*SprayProxy) Backends ¶
func (p *SprayProxy) Backends() []string
func (*SprayProxy) HandleProxy ¶
func (p *SprayProxy) HandleProxy(c *gin.Context)
func (*SprayProxy) InsecureSkipTLSVerify ¶
func (p *SprayProxy) InsecureSkipTLSVerify() bool
InsecureSkipTLSVerify indicates if the proxy is skipping TLS verification. This setting is insecure and should not be used in production.
type SprayWriter ¶
type SprayWriter struct { http.ResponseWriter // contains filtered or unexported fields }
func NewSprayWriter ¶
func NewSprayWriter() *SprayWriter
func (*SprayWriter) Header ¶
func (w *SprayWriter) Header() http.Header
func (*SprayWriter) WriteHeader ¶
func (w *SprayWriter) WriteHeader(statusCode int)
Click to show internal directories.
Click to hide internal directories.