Esempio n. 1
0
func init() {
	http.Handle("/admin/testclose/", appstats.NewHandler(testIssue))
	http.Handle("/admin/testmove", appstats.NewHandler(doMoves))

	return
	app.ScanData("issue.github1", 15*time.Minute,
		datastore.NewQuery("Issue").Filter("NeedGithubNote =", true),
		postMovedNote)
}
Esempio n. 2
0
func init() {
	http.Handle("/admin/commit/load", appstats.NewHandler(startLoad))
	http.Handle("/admin/commit/kickoff", appstats.NewHandler(initialLoad))
	http.Handle("/admin/commit/status", appstats.NewHandler(status))
	http.Handle("/admin/commit/show/", appstats.NewHandler(show))

	laterLoad = delay.Func("commit.load", load)
	laterLoadRev = delay.Func("commit.loadrev", loadRev)
}
Esempio n. 3
0
func init() {
	http.Handle("/admin/issue/show/", appstats.NewHandler(show))
}
Esempio n. 4
0
func init() {
	RegisterStatus("data updater", updateStatus)
	http.Handle("/admin/app/update", appstats.NewHandler(startUpdate))
}
Esempio n. 5
0
func init() {
	http.Handle("/admin/app/status", appstats.NewHandler(StatusPage))
}
Esempio n. 6
0
func init() {
	http.Handle("/admin/codereview/mailissue", appstats.NewHandler(testmailissue))
}
Esempio n. 7
0
func init() {
	http.Handle("/admin/codereview/show/", appstats.NewHandler(show))
}
Esempio n. 8
0
func init() {
	http.Handle("/admin/codelogin", appstats.NewHandler(codelogin))
	http.Handle("/codetoken", appstats.NewHandler(codetoken))
}
Esempio n. 9
0
func init() {
	http.Handle("/", appstats.NewHandler(showDash))
	http.Handle("/uiop", appstats.NewHandler(uiOperation))
}
Esempio n. 10
0
func init() {
	http.Handle("/admin/app/cron", appstats.NewHandler(cronHandler))
	RegisterStatus("cron", cronStatus)
}
Esempio n. 11
0
func init() {
	TaskFunc("ping", ping, "default", nil)
	TaskFunc("pong", pong, "default", nil)
	http.Handle("/admin/app/pingpong", appstats.NewHandler(startPing))
}
Esempio n. 12
0
func init() {
	http.Handle("/admin/app/taskpost", appstats.NewHandler(taskpost))
}
Esempio n. 13
0
func init() {
	http.Handle("/admin/app/breaklock", appstats.NewHandler(breaklock))
}
Esempio n. 14
0
func init() {
	app.Cron("issue.load", 5*time.Minute, load)

	http.Handle("/admin/issueload", appstats.NewHandler(func(ctxt appengine.Context, w http.ResponseWriter, req *http.Request) { load(ctxt) }))
}
Esempio n. 15
0
func init() {
	http.Handle("/status", appstats.NewHandler(app.StatusPage))
}
Esempio n. 16
0
func init() {
	http.Handle("/admin/app/metaedit", appstats.NewHandler(metaedit))
}
Esempio n. 17
0
func init() {
	http.Handle("/admin/testissue", appstats.NewHandler(testIssue))
}