Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceRegister ¶
type ServiceRegister struct {
// contains filtered or unexported fields
}
ServiceRegister 创建租约注册服务
func New ¶
func New(auth *util.ETCDAuth, info *info.ServiceInfo, lease int64) (*ServiceRegister, error)
New 新增註冊服務
func (*ServiceRegister) ListenLeaseRespChan ¶
func (s *ServiceRegister) ListenLeaseRespChan()
ListenLeaseRespChan 監聽續約狀態
Click to show internal directories.
Click to hide internal directories.