Documentation
¶
Index ¶
- func BuildReverseProxyService(service map[string]any, name string) (*httputil.ReverseProxy, bool)
- func BuildStaticFileSystemHandler(service map[string]any, name string, route string) (http.Handler, bool)
- func BuildWSGIHandler(service map[string]any) (http.Handler, bool)
- func DebugHandler(w http.ResponseWriter, r *http.Request)
- type InterchangeStaticFSHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildReverseProxyService ¶
creates a new reverse proxy service based on the given user configuration
func DebugHandler ¶
func DebugHandler(w http.ResponseWriter, r *http.Request)
handles debug requests if the server is running in developmentMode
Types ¶
type InterchangeStaticFSHandler ¶
type InterchangeStaticFSHandler struct {
// contains filtered or unexported fields
}
a custom static file handler for interchange
func (InterchangeStaticFSHandler) ServeHTTP ¶
func (i InterchangeStaticFSHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.