Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResolver ¶
Types ¶
type EtcdRegister ¶
type EtcdRegister struct {
// contains filtered or unexported fields
}
func NewEtcdRegister ¶
func NewEtcdRegister(etcdAddr, serviceName, serviceAddr string, ttl int64) *EtcdRegister
func (*EtcdRegister) Register ¶
func (e *EtcdRegister) Register() error
func (*EtcdRegister) UnRegister ¶
func (e *EtcdRegister) UnRegister() error
Click to show internal directories.
Click to hide internal directories.