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
}
FileDiscoveryService is exported
func (*FileDiscoveryService) Fetch ¶
func (s *FileDiscoveryService) Fetch() ([]*discovery.Entry, error)
Fetch is exported
func (*FileDiscoveryService) Initialize ¶
func (s *FileDiscoveryService) Initialize(path string, heartbeat int) error
Initialize is exported
func (*FileDiscoveryService) Register ¶
func (s *FileDiscoveryService) Register(addr string) error
Register is exported
func (*FileDiscoveryService) Watch ¶
func (s *FileDiscoveryService) Watch(callback discovery.WatchCallback)
Watch is exported
Click to show internal directories.
Click to hide internal directories.