Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleStatusFunc ¶
func HandleStatusFunc(pool interface{ List() []*remote.Session }, version string) http.HandlerFunc
HandleStatusFunc gives a HTTP handler which can report the status of the instances in the session pool.
func HandleStyleCSS ¶
func HandleStyleCSS(w http.ResponseWriter, r *http.Request)
HandleStyleCSS responds with the CSS code.
func Redirect ¶
func Redirect(hf http.HandlerFunc, srcHost, dstHost string) http.HandlerFunc
Redirect redirects requests from the source host to the destination host if the host matches the source host. If the host does not match the source host, then the request will be passed to the passed in handler.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.