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

Side by Side 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, 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 main
6
7 import (
8 "github.com/GoogleCloudPlatform/go-endpoints/endpoints"
9 "github.com/luci/luci-go/appengine/apigen_examples/dumb_counter/dumbCoun ter"
10 "github.com/luci/luci-go/appengine/ephelper"
11 "github.com/luci/luci-go/appengine/ephelper/epfrontend"
12 "google.golang.org/appengine"
13 )
14
15 func main() {
16 epfe := epfrontend.New("/api/", nil)
17 h := ephelper.Helper{
18 Frontend: epfe,
19 }
20 h.Register(endpoints.DefaultServer, dumbCounter.Example{}, dumbCounter.S erviceInfo, dumbCounter.MethodInfoMap)
21
22 endpoints.HandleHTTP()
23 epfe.HandleHTTP(nil)
24 appengine.Main()
25 }
OLDNEW
« 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