Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrServiceNotFound . ErrServiceNotFound = errors.New("service not found") // ErrServiceUnreachable . ErrServiceUnreachable = errors.New("service unreachable") )
Functions ¶
This section is empty.
Types ¶
type ServiceManager ¶
type ServiceManager interface { AddServiceNodes(path string, value string) DeleteServiceNodes(path string) ClientBy(serviceName string) (*arpc.Client, error) }
ServiceManager .
func NewServiceManager ¶
func NewServiceManager(dialer func(addr string) (net.Conn, error)) ServiceManager
NewServiceManager .
type ServiceNode ¶
type ServiceNode struct {
// contains filtered or unexported fields
}
ServiceNode .
Click to show internal directories.
Click to hide internal directories.