summaryrefslogtreecommitdiffstats
path: root/lib/agent/apiv1-sdks.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/agent/apiv1-sdks.go')
-rw-r--r--lib/agent/apiv1-sdks.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/agent/apiv1-sdks.go b/lib/agent/apiv1-sdks.go
new file mode 100644
index 0000000..ee6409d
--- /dev/null
+++ b/lib/agent/apiv1-sdks.go
@@ -0,0 +1,9 @@
+package agent
+
+// sdksPassthroughInit Declare passthrough routes for sdks
+func (s *APIService) sdksPassthroughInit(svr *XdsServer) error {
+ svr.PassthroughGet("/sdks")
+ svr.PassthroughGet("/sdk/:id")
+
+ return nil
+}