Documentation ¶
Index ¶
- func HomeHandler(w http.ResponseWriter, r *http.Request)
- func KillHandler(w http.ResponseWriter, r *http.Request)
- func ListHandler(w http.ResponseWriter, r *http.Request)
- func ResetHandler(w http.ResponseWriter, r *http.Request)
- func SpawnHandler(w http.ResponseWriter, r *http.Request)
- type TemplateContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HomeHandler ¶
func HomeHandler(w http.ResponseWriter, r *http.Request)
HomeHandler will serve the js emet init file
func KillHandler ¶
func KillHandler(w http.ResponseWriter, r *http.Request)
KillHandler will kill the golem
func ListHandler ¶
func ListHandler(w http.ResponseWriter, r *http.Request)
ListHandler shows the running golems
func ResetHandler ¶
func ResetHandler(w http.ResponseWriter, r *http.Request)
ResetHandler will reset/reload the golem on the given webstrate
func SpawnHandler ¶
func SpawnHandler(w http.ResponseWriter, r *http.Request)
SpawnHandler will spawn a new golem for the webstrate given by the mux.Vars
Types ¶
type TemplateContext ¶
TemplateContext is the context which gets used when constructing the emet js init file
Click to show internal directories.
Click to hide internal directories.