sys_rpc

package
v0.0.0-...-52d6a69 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2019 License: Apache-2.0, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChildRpc

type ChildRpc struct {
}

func (*ChildRpc) CloseServer

func (this *ChildRpc) CloseServer(request *cluster.RpcRequest)

关闭节点信号

func (*ChildRpc) ReloadConfig

func (this *ChildRpc) ReloadConfig(request *cluster.RpcRequest)

重新加载配置文件

func (*ChildRpc) RootTakeProxy

func (this *ChildRpc) RootTakeProxy(request *cluster.RpcRequest)

master 通知父节点上线, 收到通知的子节点需要链接对应父节点

type MasterRpc

type MasterRpc struct {
}

func (*MasterRpc) TakeProxy

func (this *MasterRpc) TakeProxy(request *cluster.RpcRequest) (response map[string]interface{})

type RootRpc

type RootRpc struct {
}

func (*RootRpc) TakeProxy

func (this *RootRpc) TakeProxy(request *cluster.RpcRequest)

子节点连上来的通知

Jump to

Keyboard shortcuts

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