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

Side by Side 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, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Package service is an example Google Cloud Endpoints service.
6 //
7 // It implements a really dumb named persistant counter.
8 package service
9
10 import (
11 "github.com/GoogleCloudPlatform/go-endpoints/endpoints"
12 "github.com/luci/luci-go/appengine/apigen_examples/dumb_counter/dumbCoun ter"
13 "github.com/luci/luci-go/appengine/ephelper"
14 )
15
16 // Uncomment this block to make this a Managed VM application.
17 func init() {
18 ephelper.Register(endpoints.DefaultServer, &dumbCounter.Example{}, dumbC ounter.ServiceInfo, dumbCounter.MethodInfoMap)
19 endpoints.HandleHTTP()
20 }
OLDNEW
« 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