SYMBOL INDEX (174 symbols across 22 files) FILE: 2-etcd-go-client/example_auth_test.go function ExampleAuth (line 25) | func ExampleAuth() { FILE: 2-etcd-go-client/example_cluster_test.go function ExampleCluster_memberList (line 25) | func ExampleCluster_memberList() { function ExampleCluster_memberAdd (line 43) | func ExampleCluster_memberAdd() { function ExampleCluster_memberRemove (line 62) | func ExampleCluster_memberRemove() { function ExampleCluster_memberUpdate (line 83) | func ExampleCluster_memberUpdate() { FILE: 2-etcd-go-client/example_kv_test.go function ExampleKV_put (line 26) | func ExampleKV_put() { function ExampleKV_putErrorHandling (line 44) | func ExampleKV_putErrorHandling() { function ExampleKV_get (line 72) | func ExampleKV_get() { function ExampleKV_getWithRev (line 99) | func ExampleKV_getWithRev() { function ExampleKV_getSortedPrefix (line 130) | func ExampleKV_getSortedPrefix() { function ExampleKV_delete (line 164) | func ExampleKV_delete() { function ExampleKV_compact (line 194) | func ExampleKV_compact() { function ExampleKV_txn (line 220) | func ExampleKV_txn() { function ExampleKV_do (line 262) | func ExampleKV_do() { FILE: 2-etcd-go-client/example_lease_test.go function ExampleLease_grant (line 25) | func ExampleLease_grant() { function ExampleLease_revoke (line 48) | func ExampleLease_revoke() { function ExampleLease_keepAlive (line 82) | func ExampleLease_keepAlive() { function ExampleLease_keepAliveOnce (line 113) | func ExampleLease_keepAliveOnce() { FILE: 2-etcd-go-client/example_maintenence_test.go function ExampleMaintenance_status (line 25) | func ExampleMaintenance_status() { function ExampleMaintenance_defragment (line 47) | func ExampleMaintenance_defragment() { FILE: 2-etcd-go-client/example_metrics_test.go function ExampleClient_metrics (line 33) | func ExampleClient_metrics() { FILE: 2-etcd-go-client/example_test.go function Example (line 36) | func Example() { function ExampleConfig_withTLS (line 54) | func ExampleConfig_withTLS() { FILE: 2-etcd-go-client/example_watch_test.go function ExampleWatcher_watch (line 25) | func ExampleWatcher_watch() { function ExampleWatcher_watchWithPrefix (line 44) | func ExampleWatcher_watchWithPrefix() { function ExampleWatcher_watchWithRange (line 63) | func ExampleWatcher_watchWithRange() { function ExampleWatcher_watchWithProgressNotify (line 85) | func ExampleWatcher_watchWithProgressNotify() { FILE: 3-etcd-service-discovery/discovery/discovery.go type ServiceDiscovery (line 14) | type ServiceDiscovery struct method WatchService (line 35) | func (s *ServiceDiscovery) WatchService(prefix string) error { method watcher (line 52) | func (s *ServiceDiscovery) watcher(prefix string) { method SetServiceList (line 68) | func (s *ServiceDiscovery) SetServiceList(key, val string) { method DelServiceList (line 74) | func (s *ServiceDiscovery) DelServiceList(key string) { method GetServices (line 80) | func (s *ServiceDiscovery) GetServices() []string { method Close (line 90) | func (s *ServiceDiscovery) Close() error { function NewServiceDiscovery (line 20) | func NewServiceDiscovery(endpoints []string) *ServiceDiscovery { function main (line 94) | func main() { FILE: 3-etcd-service-discovery/register/register.go type ServiceRegister (line 12) | type ServiceRegister struct method putKeyWithLease (line 46) | func (s *ServiceRegister) putKeyWithLease(lease int64) error { method ListenLeaseRespChan (line 70) | func (s *ServiceRegister) ListenLeaseRespChan() { method Close (line 78) | func (s *ServiceRegister) Close() error { function NewServiceRegister (line 22) | func NewServiceRegister(endpoints []string, key, val string, lease int64... function main (line 87) | func main() { FILE: 4-etcd-grpclb/client/client.go function main (line 25) | func main() { function route (line 49) | func route(i int) { FILE: 4-etcd-grpclb/etcdv3/discovery.go constant schema (line 14) | schema = "grpclb" type ServiceDiscovery (line 17) | type ServiceDiscovery struct method Build (line 39) | func (s *ServiceDiscovery) Build(target resolver.Target, cc resolver.C... method ResolveNow (line 59) | func (s *ServiceDiscovery) ResolveNow(rn resolver.ResolveNowOption) { method Scheme (line 64) | func (s *ServiceDiscovery) Scheme() string { method Close (line 69) | func (s *ServiceDiscovery) Close() { method watcher (line 75) | func (s *ServiceDiscovery) watcher(prefix string) { method SetServiceList (line 91) | func (s *ServiceDiscovery) SetServiceList(key, val string) { method DelServiceList (line 98) | func (s *ServiceDiscovery) DelServiceList(key string) { method getServices (line 105) | func (s *ServiceDiscovery) getServices() []resolver.Address { function NewServiceDiscovery (line 24) | func NewServiceDiscovery(endpoints []string) resolver.Builder { FILE: 4-etcd-grpclb/etcdv3/register.go type ServiceRegister (line 12) | type ServiceRegister struct method putKeyWithLease (line 46) | func (s *ServiceRegister) putKeyWithLease(lease int64) error { method ListenLeaseRespChan (line 70) | func (s *ServiceRegister) ListenLeaseRespChan() { method Close (line 78) | func (s *ServiceRegister) Close() error { function NewServiceRegister (line 22) | func NewServiceRegister(endpoints []string, serName, addr string, lease ... FILE: 4-etcd-grpclb/proto/simple.pb.go constant _ (line 25) | _ = proto.ProtoPackageIsVersion3 type SimpleRequest (line 28) | type SimpleRequest struct method Reset (line 37) | func (m *SimpleRequest) Reset() { *m = SimpleRequest{} } method String (line 38) | func (m *SimpleRequest) String() string { return proto.CompactTextStri... method ProtoMessage (line 39) | func (*SimpleRequest) ProtoMessage() {} method Descriptor (line 40) | func (*SimpleRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 44) | func (m *SimpleRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 47) | func (m *SimpleRequest) XXX_Marshal(b []byte, deterministic bool) ([]b... method XXX_Merge (line 50) | func (m *SimpleRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 53) | func (m *SimpleRequest) XXX_Size() int { method XXX_DiscardUnknown (line 56) | func (m *SimpleRequest) XXX_DiscardUnknown() { method GetData (line 62) | func (m *SimpleRequest) GetData() string { type SimpleResponse (line 70) | type SimpleResponse struct method Reset (line 80) | func (m *SimpleResponse) Reset() { *m = SimpleResponse{} } method String (line 81) | func (m *SimpleResponse) String() string { return proto.CompactTextStr... method ProtoMessage (line 82) | func (*SimpleResponse) ProtoMessage() {} method Descriptor (line 83) | func (*SimpleResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 87) | func (m *SimpleResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 90) | func (m *SimpleResponse) XXX_Marshal(b []byte, deterministic bool) ([]... method XXX_Merge (line 93) | func (m *SimpleResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 96) | func (m *SimpleResponse) XXX_Size() int { method XXX_DiscardUnknown (line 99) | func (m *SimpleResponse) XXX_DiscardUnknown() { method GetCode (line 105) | func (m *SimpleResponse) GetCode() int32 { method GetValue (line 112) | func (m *SimpleResponse) GetValue() string { function init (line 119) | func init() { function init (line 124) | func init() { proto.RegisterFile("2-simple_rpc/proto/simple.proto", file... constant _ (line 146) | _ = grpc.SupportPackageIsVersion4 type SimpleClient (line 151) | type SimpleClient interface type simpleClient (line 155) | type simpleClient struct method Route (line 163) | func (c *simpleClient) Route(ctx context.Context, in *SimpleRequest, o... function NewSimpleClient (line 159) | func NewSimpleClient(cc *grpc.ClientConn) SimpleClient { type SimpleServer (line 173) | type SimpleServer interface type UnimplementedSimpleServer (line 178) | type UnimplementedSimpleServer struct method Route (line 181) | func (*UnimplementedSimpleServer) Route(ctx context.Context, req *Simp... function RegisterSimpleServer (line 185) | func RegisterSimpleServer(s *grpc.Server, srv SimpleServer) { function _Simple_Route_Handler (line 189) | func _Simple_Route_Handler(srv interface{}, ctx context.Context, dec fun... FILE: 4-etcd-grpclb/server/server.go type SimpleService (line 15) | type SimpleService struct method Route (line 54) | func (s *SimpleService) Route(ctx context.Context, req *pb.SimpleReque... constant Address (line 19) | Address string = "localhost:8000" constant Network (line 21) | Network string = "tcp" constant SerName (line 23) | SerName string = "simple_grpc" function main (line 29) | func main() { FILE: 5-etcd-grpclb-balancer/balancer/weight/weight.go constant Name (line 15) | Name = "weight" type attributeKey (line 24) | type attributeKey struct type AddrInfo (line 27) | type AddrInfo struct function SetAddrInfo (line 33) | func SetAddrInfo(addr resolver.Address, addrInfo AddrInfo) resolver.Addr... function GetAddrInfo (line 40) | func GetAddrInfo(addr resolver.Address) AddrInfo { function newBuilder (line 47) | func newBuilder() balancer.Builder { function init (line 51) | func init() { type rrPickerBuilder (line 55) | type rrPickerBuilder struct method Build (line 57) | func (*rrPickerBuilder) Build(info base.PickerBuildInfo) balancer.V2Pi... type rrPicker (line 79) | type rrPicker struct method Pick (line 88) | func (p *rrPicker) Pick(balancer.PickInfo) (balancer.PickResult, error) { FILE: 5-etcd-grpclb-balancer/client/client.go function main (line 25) | func main() { function route (line 49) | func route(i int) { FILE: 5-etcd-grpclb-balancer/etcdv3/discovery.go constant schema (line 18) | schema = "grpclb" type ServiceDiscovery (line 21) | type ServiceDiscovery struct method Build (line 44) | func (s *ServiceDiscovery) Build(target resolver.Target, cc resolver.C... method ResolveNow (line 64) | func (s *ServiceDiscovery) ResolveNow(rn resolver.ResolveNowOption) { method Scheme (line 69) | func (s *ServiceDiscovery) Scheme() string { method Close (line 74) | func (s *ServiceDiscovery) Close() { method watcher (line 80) | func (s *ServiceDiscovery) watcher() { method SetServiceList (line 96) | func (s *ServiceDiscovery) SetServiceList(key, val string) { method DelServiceList (line 113) | func (s *ServiceDiscovery) DelServiceList(key string) { method getServices (line 120) | func (s *ServiceDiscovery) getServices() []resolver.Address { function NewServiceDiscovery (line 29) | func NewServiceDiscovery(endpoints []string) resolver.Builder { FILE: 5-etcd-grpclb-balancer/etcdv3/register.go type ServiceRegister (line 12) | type ServiceRegister struct method putKeyWithLease (line 46) | func (s *ServiceRegister) putKeyWithLease(lease int64) error { method ListenLeaseRespChan (line 70) | func (s *ServiceRegister) ListenLeaseRespChan() { method Close (line 78) | func (s *ServiceRegister) Close() error { function NewServiceRegister (line 22) | func NewServiceRegister(endpoints []string, addr, weigit string, lease i... FILE: 5-etcd-grpclb-balancer/proto/simple.pb.go constant _ (line 25) | _ = proto.ProtoPackageIsVersion3 type SimpleRequest (line 28) | type SimpleRequest struct method Reset (line 37) | func (m *SimpleRequest) Reset() { *m = SimpleRequest{} } method String (line 38) | func (m *SimpleRequest) String() string { return proto.CompactTextStri... method ProtoMessage (line 39) | func (*SimpleRequest) ProtoMessage() {} method Descriptor (line 40) | func (*SimpleRequest) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 44) | func (m *SimpleRequest) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 47) | func (m *SimpleRequest) XXX_Marshal(b []byte, deterministic bool) ([]b... method XXX_Merge (line 50) | func (m *SimpleRequest) XXX_Merge(src proto.Message) { method XXX_Size (line 53) | func (m *SimpleRequest) XXX_Size() int { method XXX_DiscardUnknown (line 56) | func (m *SimpleRequest) XXX_DiscardUnknown() { method GetData (line 62) | func (m *SimpleRequest) GetData() string { type SimpleResponse (line 70) | type SimpleResponse struct method Reset (line 80) | func (m *SimpleResponse) Reset() { *m = SimpleResponse{} } method String (line 81) | func (m *SimpleResponse) String() string { return proto.CompactTextStr... method ProtoMessage (line 82) | func (*SimpleResponse) ProtoMessage() {} method Descriptor (line 83) | func (*SimpleResponse) Descriptor() ([]byte, []int) { method XXX_Unmarshal (line 87) | func (m *SimpleResponse) XXX_Unmarshal(b []byte) error { method XXX_Marshal (line 90) | func (m *SimpleResponse) XXX_Marshal(b []byte, deterministic bool) ([]... method XXX_Merge (line 93) | func (m *SimpleResponse) XXX_Merge(src proto.Message) { method XXX_Size (line 96) | func (m *SimpleResponse) XXX_Size() int { method XXX_DiscardUnknown (line 99) | func (m *SimpleResponse) XXX_DiscardUnknown() { method GetCode (line 105) | func (m *SimpleResponse) GetCode() int32 { method GetValue (line 112) | func (m *SimpleResponse) GetValue() string { function init (line 119) | func init() { function init (line 124) | func init() { proto.RegisterFile("2-simple_rpc/proto/simple.proto", file... constant _ (line 146) | _ = grpc.SupportPackageIsVersion4 type SimpleClient (line 151) | type SimpleClient interface type simpleClient (line 155) | type simpleClient struct method Route (line 163) | func (c *simpleClient) Route(ctx context.Context, in *SimpleRequest, o... function NewSimpleClient (line 159) | func NewSimpleClient(cc *grpc.ClientConn) SimpleClient { type SimpleServer (line 173) | type SimpleServer interface type UnimplementedSimpleServer (line 178) | type UnimplementedSimpleServer struct method Route (line 181) | func (*UnimplementedSimpleServer) Route(ctx context.Context, req *Simp... function RegisterSimpleServer (line 185) | func RegisterSimpleServer(s *grpc.Server, srv SimpleServer) { function _Simple_Route_Handler (line 189) | func _Simple_Route_Handler(srv interface{}, ctx context.Context, dec fun... FILE: 5-etcd-grpclb-balancer/server/server.go type SimpleService (line 15) | type SimpleService struct method Route (line 54) | func (s *SimpleService) Route(ctx context.Context, req *pb.SimpleReque... constant Address (line 19) | Address string = "localhost:8000" constant Network (line 21) | Network string = "tcp" constant SerName (line 23) | SerName string = "simple_grpc" function main (line 29) | func main() { FILE: 6-etcd-mutex/example_mutex_test.go function ExampleMutex_Lock (line 26) | func ExampleMutex_Lock() {