Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ProxyHandler ¶
type ProxyHandler struct {
// contains filtered or unexported fields
}
ProxyHandler handles displaying the basics of the user interface
func NewProxyHandler ¶
func NewProxyHandler(apiHost string, target string, cacheTTL time.Duration) *ProxyHandler
NewProxyHandler creates a new proxy handler for a given URL target and TTL
func (ProxyHandler) ServeHTTP ¶
func (h ProxyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.