From be13167b869161b6e19dc3e94835245cdc7911e5 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Tue, 31 Oct 2017 18:09:45 +0100 Subject: Moved all structs exposed by API into apiv1 package Signed-off-by: Sebastien Douheret --- lib/agent/apiv1-sdks.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lib/agent/apiv1-sdks.go (limited to 'lib/agent/apiv1-sdks.go') 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 +} -- cgit 1.2.3-korg