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

Unified Diff: appengine/apigen_examples/dumb_counter_mvm/service/main.go

Issue 1750143003: Remove ephelper and other endpoints code. (Closed) Base URL: https://github.com/luci/luci-go@master
Patch Set: Created 4 years, 10 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 | « appengine/apigen_examples/dumb_counter_mvm/service/gen.go ('k') | appengine/ephelper/assertions/errors.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/apigen_examples/dumb_counter_mvm/service/main.go
diff --git a/appengine/apigen_examples/dumb_counter_mvm/service/main.go b/appengine/apigen_examples/dumb_counter_mvm/service/main.go
deleted file mode 100644
index 2066cd5e82036bcf4d92596ffe4eb5ba8840148b..0000000000000000000000000000000000000000
--- a/appengine/apigen_examples/dumb_counter_mvm/service/main.go
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package main
-
-import (
- "github.com/GoogleCloudPlatform/go-endpoints/endpoints"
- "github.com/luci/luci-go/appengine/apigen_examples/dumb_counter/dumbCounter"
- "github.com/luci/luci-go/appengine/ephelper"
- "github.com/luci/luci-go/appengine/ephelper/epfrontend"
- "google.golang.org/appengine"
-)
-
-func main() {
- epfe := epfrontend.New("/api/", nil)
- h := ephelper.Helper{
- Frontend: epfe,
- }
- h.Register(endpoints.DefaultServer, dumbCounter.Example{}, dumbCounter.ServiceInfo, dumbCounter.MethodInfoMap)
-
- endpoints.HandleHTTP()
- epfe.HandleHTTP(nil)
- appengine.Main()
-}
« no previous file with comments | « appengine/apigen_examples/dumb_counter_mvm/service/gen.go ('k') | appengine/ephelper/assertions/errors.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698