summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-07-02 12:53:34 -0500
committerJeff Carr <[email protected]>2025-07-02 12:54:28 -0500
commitfde780869eddd1f2765c9de3c17c38d67fa76174 (patch)
tree3b3acf3c9dd95369aa006c71c5ab95ce8a765244 /http.go
parent61cc346f6cb121dcba3ee5e457ba587d58646621 (diff)
recieve a gitpb.Repos protobufv0.0.5
Diffstat (limited to 'http.go')
-rw-r--r--http.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/http.go b/http.go
index fae1800..030983e 100644
--- a/http.go
+++ b/http.go
@@ -38,10 +38,18 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
listPatchsets(w)
return
}
+
if route == "/patchset" {
savePatchset(w, msg)
return
}
+
+ if route == "/lookup" {
+ // repos, err := lookupRepos(w, msg)
+ lookupRepos(w, msg)
+ return
+ }
+
if route == "/GetPatchsets" {
doSendPatchsets(w)
return