Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Handler = &MuxHandler{}
)
Functions ¶
func GatewayHandler ¶
func GatewayHandler(w http.ResponseWriter, r *http.Request)
gatewayHandler serves nsite sites. it is not registered in the mux; main.go calls it directly when the host matches an nsite subdomain.
func MatchesHost ¶
Types ¶
type MuxHandler ¶
type MuxHandler struct {
// contains filtered or unexported fields
}
func (*MuxHandler) ServeHTTP ¶
func (mh *MuxHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.