Documentation ¶
Index ¶
Constants ¶
View Source
const ExtraAssetPrefix = "/extra-statics"
ExtraAssetPrefix is used for extra assets
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtraAsset ¶
ExtraAsset describes an extra asset to by exported by the server
type Server ¶
Server describes the HTTP server for the Skydive UI Extra assets to be served by the server can be specified Global var is a map of variables that will be used when processing Golang templates for the page
func (*Server) AddGlobalVar ¶
AddGlobalVar adds a global variable with the provided name and value
func (*Server) ServeIndex ¶
func (s *Server) ServeIndex(index string, baseURL string) func(w http.ResponseWriter, r *auth.AuthenticatedRequest)
ServeIndex servers the index page
Click to show internal directories.
Click to hide internal directories.