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

Unified Diff: appengine/apigen_examples/dumb_counter/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
Index: appengine/apigen_examples/dumb_counter/service/main.go
diff --git a/appengine/apigen_examples/dumb_counter/service/main.go b/appengine/apigen_examples/dumb_counter/service/main.go
deleted file mode 100644
index 721b43d03c4d859d2807f23c942ed9d952ea386d..0000000000000000000000000000000000000000
--- a/appengine/apigen_examples/dumb_counter/service/main.go
+++ /dev/null
@@ -1,20 +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 service is an example Google Cloud Endpoints service.
-//
-// It implements a really dumb named persistant counter.
-package service
-
-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"
-)
-
-// Uncomment this block to make this a Managed VM application.
-func init() {
- ephelper.Register(endpoints.DefaultServer, &dumbCounter.Example{}, dumbCounter.ServiceInfo, dumbCounter.MethodInfoMap)
- endpoints.HandleHTTP()
-}
« no previous file with comments | « appengine/apigen_examples/dumb_counter/service/gen.go ('k') | appengine/apigen_examples/dumb_counter_mvm/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698