Documentation ¶
Overview ¶
Leader acts as a transient team leader It register each service's active locations.
Index ¶
Constants ¶
View Source
const TimeOutLimit = 25 // seconds
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RemoteService ¶
type RemoteService struct { ServiceLocation ServiceLocation LastHeartBeat int64 // epoc seconds }
func (*RemoteService) String ¶
func (rp *RemoteService) String() string
type ServiceLocation ¶
type ServiceLocation string
func (*ServiceLocation) String ¶
func (i *ServiceLocation) String() string
type TeamLeader ¶
type TeamLeader struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.