README ¶ SRAD SARD: Service Register and Discover with EtcD Usage Please see file srad_test.go. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ Variables func Discover(scheme, service string, endpoints []string) (*grpc.ClientConn, error) func Register(ctx context.Context, scheme, service, host string, port int, weight int64, ...) (*etcdRegistry, error) Constants ¶ This section is empty. Variables ¶ View Source var ( ErrConnClosed = errors.New("grpc: conn closed") ) View Source var ( ErrNoPickerResult = errors.New("picker: no result") ) Functions ¶ func Discover ¶ func Discover(scheme, service string, endpoints []string) (*grpc.ClientConn, error) func Register ¶ func Register(ctx context.Context, scheme, service, host string, port int, weight int64, endpoints []string) (*etcdRegistry, error) Types ¶ This section is empty. Source Files ¶ View all Source files balance.go helper.go pool.go register.go resolver.go srad.go Click to show internal directories. Click to hide internal directories.