Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mirroring ¶
type Mirroring struct {
// contains filtered or unexported fields
}
Mirroring is an http.Handler that can mirror requests.
func New ¶
func New(handler http.Handler, pool *safe.Pool, maxBodySize int64, hc *dynamic.HealthCheck) *Mirroring
New returns a new instance of *Mirroring.
func (*Mirroring) RegisterStatusUpdater ¶ added in v2.5.0
RegisterStatusUpdater adds fn to the list of hooks that are run when the status of handler of the Mirroring changes. Not thread safe.
Click to show internal directories.
Click to hide internal directories.