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

Side by Side Diff: pkg/appengine/lib/api/memcache.dart

Issue 804973002: Add appengine/gcloud/mustache dependencies. (Closed) Base URL: git@github.com:dart-lang/pub-dartlang-dart.git@master
Patch Set: Added AUTHORS/LICENSE/PATENTS files Created 6 years 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
« no previous file with comments | « pkg/appengine/lib/api/logging.dart ('k') | pkg/appengine/lib/api/modules.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 library appengine.api.memcache;
6
7 import 'package:gcloud/service_scope.dart' as ss;
8 import 'package:memcache/memcache.dart';
9
10 /**
11 * Register a new [Memcache] object.
12 *
13 * Calling this outside of a service scope or calling it more than once inside
14 * the same service scope will result in an error.
15 *
16 * See the `package:gcloud/service_scope.dart` library for more information.
17 */
18 void registerMemcacheService(Memcache service) {
19 ss.register(#_appengine.memcache, service);
20 }
21
22 /**
23 * The memcache service.
24 *
25 * Request handlers will be run inside a service scope which contains the
26 * memcache service.
27 */
28 Memcache get memcacheService => ss.lookup(#_appengine.memcache);
OLDNEW
« no previous file with comments | « pkg/appengine/lib/api/logging.dart ('k') | pkg/appengine/lib/api/modules.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698