Documentation ¶
Index ¶
- func AddCreator(uuid uint64, pc proxy.ProxyCreator) error
- func AddProxy(proxy proxy.Proxy) error
- func Call(proxyId proxy.ProxyId, methodId, timeout uint32, retry int32, ...) (resp *protocol.ResponsePackage, err error)
- func GetProxyFromPeer(sCall *stub.StubCall) proxy.Proxy
- func GetProxyManager() *proxy.ProxyManager
- func GetStubManager() *stub.StubManager
- func OnMessage(trans transport.Transport, ctx context.Context)
- func RegisterService(service stub.Stub) error
- func Start()
- func Tick()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCreator ¶ added in v0.3.0
func AddCreator(uuid uint64, pc proxy.ProxyCreator) error
func Call ¶
func Call(proxyId proxy.ProxyId, methodId, timeout uint32, retry int32, message proto.Message) (resp *protocol.ResponsePackage, err error)
Call service proxy call remote sync
func GetProxyManager ¶ added in v0.3.0
func GetProxyManager() *proxy.ProxyManager
func GetStubManager ¶ added in v0.3.0
func GetStubManager() *stub.StubManager
func RegisterService ¶
RegisterService register user impl service struct to framework
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.