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

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

Issue 1269113005: A transparent cache for datastore, backed by memcache. (Closed) Base URL: https://github.com/luci/gae.git@add_meta
Patch Set: fix comments Created 5 years, 4 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
« no previous file with comments | « service/memcache/raw_interface.go ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package memcache 5 package memcache
6 6
7 import ( 7 import (
8 "time" 8 "time"
9 ) 9 )
10 10
(...skipping 20 matching lines...) Expand all
31 Key() string 31 Key() string
32 Value() []byte 32 Value() []byte
33 Flags() uint32 33 Flags() uint32
34 Expiration() time.Duration 34 Expiration() time.Duration
35 35
36 SetKey(string) Item 36 SetKey(string) Item
37 SetValue([]byte) Item 37 SetValue([]byte) Item
38 SetFlags(uint32) Item 38 SetFlags(uint32) Item
39 SetExpiration(time.Duration) Item 39 SetExpiration(time.Duration) Item
40 40
41 » // SetAll copies all the values from other into this item (including the hidden 41 » // SetAll copies all the values from other, except Key, into this item
42 » // CasID field). 42 » // (including the hidden CasID field). If other is nil, then all non-Key
43 » // fields are reset.
43 SetAll(other Item) 44 SetAll(other Item)
44 } 45 }
OLDNEW
« no previous file with comments | « service/memcache/raw_interface.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698