Method
admin
(w http.ResponseWriter, r *http.Request)
Source from the content-addressed store, hash-verified
| 71 | } |
| 72 | |
| 73 | func (a *API) admin(w http.ResponseWriter, r *http.Request) { |
| 74 | w.Header().Add("Content-Type", "text/html") |
| 75 | fmt.Fprintf(w, ` |
| 76 | <!doctype html> |
| 77 | <html> |
| 78 | <head><title>configs :: configuration service</title></head> |
| 79 | <body> |
| 80 | <h1>configs :: configuration service</h1> |
| 81 | </body> |
| 82 | </html> |
| 83 | `) |
| 84 | } |
| 85 | |
| 86 | // RegisterRoutes registers the configs API HTTP routes with the provided Router. |
| 87 | func (a *API) RegisterRoutes(r *mux.Router) { |
Callers
nothing calls this directly
Tested by
no test coverage detected