Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileDiscoveryService ¶
type FileDiscoveryService struct {
// contains filtered or unexported fields
}
func (*FileDiscoveryService) Fetch ¶
func (s *FileDiscoveryService) Fetch() ([]*discovery.Node, error)
func (*FileDiscoveryService) Initialize ¶
func (s *FileDiscoveryService) Initialize(path string, heartbeat int) error
func (*FileDiscoveryService) Register ¶
func (s *FileDiscoveryService) Register(addr string) error
func (*FileDiscoveryService) Watch ¶
func (s *FileDiscoveryService) Watch(callback discovery.WatchCallback)
Click to show internal directories.
Click to hide internal directories.