会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
张伯雨
Powered by
博客园
博客园
|
首页
|
新随笔
|
联系
|
订阅
|
管理
上一页
1
···
20
21
22
23
24
25
26
27
28
···
37
下一页
2017年8月30日
key.go
摘要: package concurrencyimport ( "fmt" v3 "github.com/coreos/etcd/clientv3" "github.com/coreos/etcd/mvcc/mvccpb" "golang.org/x/net/context")func waitDelete(ctx context.Context, client *v3.Clien...
阅读全文
posted @ 2017-08-30 13:39 张伯雨
阅读(330)
评论(0)
推荐(0)
编辑
election.go
摘要: package concurrencyimport ( "errors" "fmt" v3 "github.com/coreos/etcd/clientv3" "github.com/coreos/etcd/mvcc/mvccpb" "golang.org/x/net/context")var ( ErrElectionNotLeader = errors.Ne...
阅读全文
posted @ 2017-08-30 13:38 张伯雨
阅读(374)
评论(0)
推荐(0)
编辑
watch.go
摘要: package clientv3import ( "fmt" "sync" "time" v3rpc "github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes" pb "github.com/coreos/etcd/etcdserver/etcdserverpb" mvccpb "github.com/coreo...
阅读全文
posted @ 2017-08-30 13:37 张伯雨
阅读(409)
评论(0)
推荐(0)
编辑
txn.go
摘要: package clientv3import ( "sync" pb "github.com/coreos/etcd/etcdserver/etcdserverpb" "golang.org/x/net/context" "google.golang.org/grpc")// Txn is the interface that wraps mini-transactions...
阅读全文
posted @ 2017-08-30 13:36 张伯雨
阅读(362)
评论(0)
推荐(0)
编辑
sort.go
摘要: package clientv3type SortTarget inttype SortOrder intconst ( SortNone SortOrder = iota SortAscend SortDescend)const ( SortByKey SortTarget = iota SortByVersion SortByCreateRevision ...
阅读全文
posted @ 2017-08-30 13:35 张伯雨
阅读(196)
评论(0)
推荐(0)
编辑
retry.go
摘要: package clientv3import ( "github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes" pb "github.com/coreos/etcd/etcdserver/etcdserverpb" "golang.org/x/net/context" "google.golang.org/grpc" "...
阅读全文
posted @ 2017-08-30 13:33 张伯雨
阅读(926)
评论(0)
推荐(0)
编辑
maintenance.go
摘要: package clientv3import ( "io" pb "github.com/coreos/etcd/etcdserver/etcdserverpb" "golang.org/x/net/context" "google.golang.org/grpc")type ( DefragmentResponse pb.DefragmentResponse ...
阅读全文
posted @ 2017-08-30 13:32 张伯雨
阅读(336)
评论(0)
推荐(0)
编辑
op.go
摘要: package clientv3import pb "github.com/coreos/etcd/etcdserver/etcdserverpb"type opType intconst ( // A default Op has opType 0, which is invalid. tRange opType = iota + 1 tPut tDeleteRange)...
阅读全文
posted @ 2017-08-30 13:32 张伯雨
阅读(631)
评论(0)
推荐(0)
编辑
lease.go
摘要: package clientv3import ( "sync" "time" "github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes" pb "github.com/coreos/etcd/etcdserver/etcdserverpb" "golang.org/x/net/context" "google.g...
阅读全文
posted @ 2017-08-30 13:30 张伯雨
阅读(414)
评论(0)
推荐(0)
编辑
config.go
摘要: package clientv3import ( "crypto/tls" "crypto/x509" "io/ioutil" "time" "github.com/coreos/etcd/pkg/tlsutil" "github.com/ghodss/yaml")type Config struct { // Endpoints is a list of...
阅读全文
posted @ 2017-08-30 13:29 张伯雨
阅读(433)
评论(0)
推荐(0)
编辑
上一页
1
···
20
21
22
23
24
25
26
27
28
···
37
下一页