Auto-update. Or at least, so it should do.

This commit is contained in:
Howl
2016-04-09 20:31:50 +02:00
parent 92d308879b
commit f0e444cdea
2 changed files with 71 additions and 1 deletions

View File

@@ -47,11 +47,12 @@ func Start(conf common.Conf, db *sql.DB) *gin.Engine {
// M E T A
// E T "wow thats so meta"
// T E -- the one who said "wow that's so meta"
// T E -- the one who said "wow thats so meta"
// A T E M
gv1.GET("/meta/restart", Method(v1.MetaRestartGET, db, common.PrivilegeAPIMeta))
gv1.GET("/meta/kill", Method(v1.MetaKillGET, db, common.PrivilegeAPIMeta))
gv1.GET("/meta/up_since", Method(v1.MetaUpSinceGET, db, common.PrivilegeAPIMeta))
gv1.GET("/meta/update", Method(v1.MetaUpdateGET, db, common.PrivilegeAPIMeta))
}
}