add list for repo basic

This commit is contained in:
Lunny Xiao 2014-03-07 11:14:51 +08:00
parent 90223dcfc4
commit e246f2188e
4 changed files with 52 additions and 14 deletions

1
web.go
View file

@ -67,6 +67,7 @@ func runWeb(*cli.Context) {
m.Any("/user/publickey/add", user.AddPublicKey)
m.Any("/repo/create", repo.Create)
m.Any("/repo/delete", repo.Delete)
m.Any("/repo/list", repo.List)
listenAddr := fmt.Sprintf("%s:%s",
utils.Cfg.MustValue("server", "HTTP_ADDR"),