示例#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)
}
示例#2
0
文件: load.go 项目: lambdaX/rsc.godev
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)
}
示例#3
0
文件: load.go 项目: lambdaX/rsc.godev
func init() {
	http.Handle("/admin/issue/show/", appstats.NewHandler(show))
}
示例#4
0
文件: data.go 项目: lambdaX/rsc.godev
func init() {
	RegisterStatus("data updater", updateStatus)
	http.Handle("/admin/app/update", appstats.NewHandler(startUpdate))
}
示例#5
0
func init() {
	http.Handle("/admin/app/status", appstats.NewHandler(StatusPage))
}
示例#6
0
文件: load.go 项目: lambdaX/rsc.godev
func init() {
	http.Handle("/admin/codereview/mailissue", appstats.NewHandler(testmailissue))
}
示例#7
0
文件: load.go 项目: lambdaX/rsc.godev
func init() {
	http.Handle("/admin/codereview/show/", appstats.NewHandler(show))
}
示例#8
0
func init() {
	http.Handle("/admin/codelogin", appstats.NewHandler(codelogin))
	http.Handle("/codetoken", appstats.NewHandler(codetoken))
}
示例#9
0
文件: dash.go 项目: lambdaX/rsc.godev
func init() {
	http.Handle("/", appstats.NewHandler(showDash))
	http.Handle("/uiop", appstats.NewHandler(uiOperation))
}
示例#10
0
文件: cron.go 项目: lambdaX/rsc.godev
func init() {
	http.Handle("/admin/app/cron", appstats.NewHandler(cronHandler))
	RegisterStatus("cron", cronStatus)
}
示例#11
0
文件: task.go 项目: lambdaX/rsc.godev
func init() {
	TaskFunc("ping", ping, "default", nil)
	TaskFunc("pong", pong, "default", nil)
	http.Handle("/admin/app/pingpong", appstats.NewHandler(startPing))
}
示例#12
0
文件: task.go 项目: lambdaX/rsc.godev
func init() {
	http.Handle("/admin/app/taskpost", appstats.NewHandler(taskpost))
}
示例#13
0
func init() {
	http.Handle("/admin/app/breaklock", appstats.NewHandler(breaklock))
}
示例#14
0
文件: load.go 项目: lambdaX/rsc.godev
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) }))
}
示例#15
0
func init() {
	http.Handle("/status", appstats.NewHandler(app.StatusPage))
}
示例#16
0
文件: meta.go 项目: lambdaX/rsc.godev
func init() {
	http.Handle("/admin/app/metaedit", appstats.NewHandler(metaedit))
}
示例#17
0
func init() {
	http.Handle("/admin/testissue", appstats.NewHandler(testIssue))
}