add publickey list

This commit is contained in:
Lunny Xiao 2014-03-07 11:34:41 +08:00
parent e246f2188e
commit 8e821c75d7
6 changed files with 45 additions and 6 deletions

1
web.go
View file

@ -65,6 +65,7 @@ func runWeb(*cli.Context) {
m.Get("/user/profile", user.Profile) // should be /username
m.Any("/user/delete", user.Delete)
m.Any("/user/publickey/add", user.AddPublicKey)
m.Any("/user/publickey/list", user.ListPublicKey)
m.Any("/repo/create", repo.Create)
m.Any("/repo/delete", repo.Delete)
m.Any("/repo/list", repo.List)