mirror of
https://github.com/mailgun/groupcache.git
synced 2024-11-19 05:13:57 +00:00
Changed import path to mailgun/groupcache
This commit is contained in:
parent
1ee6a96d83
commit
a4f69dc48c
@ -1,5 +1,5 @@
|
|||||||
language: go
|
language: go
|
||||||
go_import_path: github.com/golang/groupcache
|
go_import_path: github.com/mailgun/groupcache
|
||||||
|
|
||||||
os: linux
|
os: linux
|
||||||
dist: trusty
|
dist: trusty
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
groupcache is a caching and cache-filling library, intended as a
|
groupcache is a caching and cache-filling library, intended as a
|
||||||
replacement for memcached in many cases.
|
replacement for memcached in many cases.
|
||||||
|
|
||||||
For API docs and examples, see http://godoc.org/github.com/golang/groupcache
|
For API docs and examples, see http://godoc.org/github.com/mailgun/groupcache
|
||||||
|
|
||||||
## Comparison to memcached
|
## Comparison to memcached
|
||||||
|
|
||||||
|
@ -32,9 +32,9 @@ import (
|
|||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
pb "github.com/golang/groupcache/groupcachepb"
|
pb "github.com/mailgun/groupcache/groupcachepb"
|
||||||
"github.com/golang/groupcache/lru"
|
"github.com/mailgun/groupcache/lru"
|
||||||
"github.com/golang/groupcache/singleflight"
|
"github.com/mailgun/groupcache/singleflight"
|
||||||
)
|
)
|
||||||
|
|
||||||
// A Getter loads data for a key.
|
// A Getter loads data for a key.
|
||||||
|
@ -31,8 +31,8 @@ import (
|
|||||||
|
|
||||||
"github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
|
|
||||||
pb "github.com/golang/groupcache/groupcachepb"
|
pb "github.com/mailgun/groupcache/groupcachepb"
|
||||||
testpb "github.com/golang/groupcache/testpb"
|
testpb "github.com/mailgun/groupcache/testpb"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
4
http.go
4
http.go
@ -25,9 +25,9 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/golang/groupcache/consistenthash"
|
|
||||||
pb "github.com/golang/groupcache/groupcachepb"
|
|
||||||
"github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
|
"github.com/mailgun/groupcache/consistenthash"
|
||||||
|
pb "github.com/mailgun/groupcache/groupcachepb"
|
||||||
)
|
)
|
||||||
|
|
||||||
const defaultBasePath = "/_groupcache/"
|
const defaultBasePath = "/_groupcache/"
|
||||||
|
2
peers.go
2
peers.go
@ -19,7 +19,7 @@ limitations under the License.
|
|||||||
package groupcache
|
package groupcache
|
||||||
|
|
||||||
import (
|
import (
|
||||||
pb "github.com/golang/groupcache/groupcachepb"
|
pb "github.com/mailgun/groupcache/groupcachepb"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Context is an opaque value passed through calls to the
|
// Context is an opaque value passed through calls to the
|
||||||
|
Loading…
Reference in New Issue
Block a user