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

Side by Side Diff: service/memcache/interface.go

Issue 2021753002: Change gae to apache 2 license. (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: Created 4 years, 6 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed under the Apache License, Version 2.0
3 // found in the LICENSE file. 3 // that can be found in the LICENSE file.
4 4
5 package memcache 5 package memcache
6 6
7 // Interface is the full interface to the memcache service. 7 // Interface is the full interface to the memcache service.
8 // 8 //
9 // The *Multi methods may return a "github.com/luci/luci-go/common/errors".Multi Error 9 // The *Multi methods may return a "github.com/luci/luci-go/common/errors".Multi Error
10 // if the rpc to the server was successful, but, e.g. some of the items were 10 // if the rpc to the server was successful, but, e.g. some of the items were
11 // missing. They may also return a regular error, if, for example, the rpc 11 // missing. They may also return a regular error, if, for example, the rpc
12 // failed outright. 12 // failed outright.
13 type Interface interface { 13 type Interface interface {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 IncrementExisting(key string, delta int64) (newValue uint64, err error) 66 IncrementExisting(key string, delta int64) (newValue uint64, err error)
67 67
68 // Flush dumps the entire memcache state. 68 // Flush dumps the entire memcache state.
69 Flush() error 69 Flush() error
70 70
71 // Stats gets some best-effort statistics about the current state of mem cache. 71 // Stats gets some best-effort statistics about the current state of mem cache.
72 Stats() (*Statistics, error) 72 Stats() (*Statistics, error)
73 73
74 Raw() RawInterface 74 Raw() RawInterface
75 } 75 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698