Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1032)

Unified Diff: appengine/cmd/helloworld/frontend/handler.go

Issue 1571393006: server/discovery: add discovery service (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@prpc-server
Patch Set: rebased Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | server/discovery/discovery.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/cmd/helloworld/frontend/handler.go
diff --git a/appengine/cmd/helloworld/frontend/handler.go b/appengine/cmd/helloworld/frontend/handler.go
index 3cdd65b4b0c20f1967909ae15a29c234f444803a..9c25e6563305f80d44b5b9b9f62437cf0e03efaf 100644
--- a/appengine/cmd/helloworld/frontend/handler.go
+++ b/appengine/cmd/helloworld/frontend/handler.go
@@ -19,6 +19,7 @@ import (
"github.com/luci/luci-go/appengine/gaeauth/server"
"github.com/luci/luci-go/appengine/gaemiddleware"
"github.com/luci/luci-go/server/auth"
+ "github.com/luci/luci-go/server/discovery"
"github.com/luci/luci-go/server/middleware"
"github.com/luci/luci-go/server/prpc"
"github.com/luci/luci-go/server/templates"
@@ -77,6 +78,7 @@ func init() {
var api prpc.Server
helloworld.RegisterGreeterServer(&api, &greeterService{})
+ discovery.Enable(&api)
api.InstallHandlers(router, base)
http.DefaultServeMux.Handle("/", router)
« no previous file with comments | « no previous file | server/discovery/discovery.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698