Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointRegister ¶
type EndpointRegister struct {
// contains filtered or unexported fields
}
业务 1. 先获取当前路由的所有条目 2. 转换成需要注册的 数据结构 3. 调用rpc 进行注册
func NewEndpointRegister ¶
func NewEndpointRegister(service string) *EndpointRegister
Click to show internal directories.
Click to hide internal directories.