Documentation
¶
Overview ¶
Package sitehttp assembles the serving layer for sites and browser pages (#2517, #2518) over the platform's mux: the Host-routing gateway the listener is wrapped in, the portal route that hands a signed-in person to a page origin, the administrators' report of the hostnames the ingress needs, and the optional ACME listener.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Layer ¶
type Layer struct {
// contains filtered or unexported fields
}
Layer is the assembled serving layer; a nil one passes everything through.
func Build ¶
func Build(mux *http.ServeMux, p *platform.Platform, adminAuth func() func(http.Handler) http.Handler) (*Layer, error)
Build assembles the layer, nil where the deployment has no sites.
Click to show internal directories.
Click to hide internal directories.