package dashboard

import "github.com/coreos/etcd/mod/dashboard"

Index

Functions

func HttpHandler

func HttpHandler() (handler http.Handler)

DashboardHttpHandler either uses the compiled in virtual filesystem for the dashboard assets or if ETCD_DASHBOARD_DIR is set uses that as the source of assets.

func IndexPage

func IndexPage(w http.ResponseWriter, req *http.Request)

Always returns the index.html page.

Source Files

dashboard.go

Directories

PathSynopsis
mod/dashboard/resources
Version
v0.4.7
Published
Feb 10, 2015
Platform
darwin/amd64
Imports
7 packages
Last checked
4 hours ago

Tools for package owners.