about summary refs log tree commit diff stats
path: root/query.go
diff options
context:
space:
mode:
Diffstat (limited to 'query.go')
-rw-r--r--query.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/query.go b/query.go
new file mode 100644
index 0000000..03c9605
--- /dev/null
+++ b/query.go
@@ -0,0 +1,11 @@
+package main
+
+import "net/http"
+
+// Query handles the /<format>/query endpoint.
+// Accept a query param and responds with the appropriate info.
+// 		?pkg=$PACKAGENAME
+func Query(w http.ResponseWriter, r *http.Request, format string) error {
+
+	return nil
+}