Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver interface { // Ping is check dirver is valid Ping() error SetLogger(log dlog.Logger) SetHeartBeat(nodeID string) SetTimeout(timeout time.Duration) GetServiceNodeList(ServiceName string) ([]string, error) RegisterServiceNode(ServiceName string) (string, error) }
Driver is a driver interface
Click to show internal directories.
Click to hide internal directories.