add list for repo basic
This commit is contained in:
parent
90223dcfc4
commit
e246f2188e
4 changed files with 52 additions and 14 deletions
1
web.go
1
web.go
|
@ -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"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue