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

Unified Diff: appengine/apigen_examples/dumb_counter/dumbCounter/service.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/dumbCounter/service.go
diff --git a/appengine/apigen_examples/dumb_counter/dumbCounter/service.go b/appengine/apigen_examples/dumb_counter/dumbCounter/service.go
deleted file mode 100644
index a73c48aafc4dacfc0a7c4e00e2a2bd7c642fa8ea..0000000000000000000000000000000000000000
--- a/appengine/apigen_examples/dumb_counter/dumbCounter/service.go
+++ /dev/null
@@ -1,32 +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 dumbCounter
-
-import (
- "github.com/GoogleCloudPlatform/go-endpoints/endpoints"
- "github.com/luci/luci-go/appengine/ephelper"
-)
-
-var (
- // MethodInfoMap is the collection of MethodInfo for the service's endpoints.
- MethodInfoMap = ephelper.MethodInfoMap{
- "List": listMethodInfo,
- "Add": addMethodInfo,
- "CAS": casMethodInfo,
- "CurrentValue": currentValueMethodInfo,
- }
-
- // ServiceInfo is information about the Example service.
- ServiceInfo = &endpoints.ServiceInfo{
- Name: "dumb_counter",
- Version: "v1",
- Description: "A hideously stupid persistant counter service.",
- }
-)
-
-// Example is the example service type.
-type Example struct {
- ephelper.ServiceBase
-}

Powered by Google App Engine
This is Rietveld 408576698