ui

package
v0.0.0-...-2f2bd00 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL