discovery

package
v0.0.0-...-b2153de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const TimeFormat = "2006-01-02 15:04:05.000"

Variables

This section is empty.

Functions

func NewMaster

func NewMaster() *master

创建 master 对象

func NewServer

func NewServer() *server

创建服务

Types

type Discoverer

type Discoverer struct {
	Server *server
	Master *master
}

服务发现者

func NewDiscoverer

func NewDiscoverer() *Discoverer

func (*Discoverer) Start

func (d *Discoverer) Start()

服务注册、监控 启动入口

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL