Documentation ¶
Index ¶
- func AuthMiddleware(next http.Handler) http.Handler
- func Cleanup(w http.ResponseWriter, r *http.Request)
- func DeletePackage(w http.ResponseWriter, r *http.Request)
- func GetData(w http.ResponseWriter, r *http.Request)
- func Metrics(w http.ResponseWriter, _ *http.Request)
- func StopServer(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cleanup ¶
func Cleanup(w http.ResponseWriter, r *http.Request)
Cleanup inspects all packages in server, and remove ones who are too old
func DeletePackage ¶
func DeletePackage(w http.ResponseWriter, r *http.Request)
DeletePackage is used to remove a package from server.
func GetData ¶
func GetData(w http.ResponseWriter, r *http.Request)
GetData is the only controller used to poll data from debian caches.
func StopServer ¶
func StopServer(w http.ResponseWriter, r *http.Request)
StopServer gracefully stops a server
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.