Documentation
¶
Overview ¶
Package upstreamobserver exposes handler-local upstream state on Caddy's private admin API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
reverseproxy.Handler
HostID string `json:"host_id"`
Revision string `json:"revision"`
// contains filtered or unexported fields
}
Handler owns the stock handler in place: its upstreams must never be copied. Embedding preserves the stock JSON fields at the top level.
func (*Handler) CaddyModule ¶
func (*Handler) CaddyModule() caddy.ModuleInfo
func (*Handler) Cleanup ¶
Cleanup unregisters only this instance and releases stock resources once, including partial failures.
Click to show internal directories.
Click to hide internal directories.