Documentation
¶
Overview ¶
Deprecated: using arpc instead
Deprecated: using arpc instead
Deprecated: using arpc instead
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRpcContainer ¶
func NewRpcContainer( addr string, apps []RpcApplication, opts ...RpcOption) scene.Scene
NewRpcContainer create a rpc container
for now, rpc is only safe to use in the internal network there are no authentication middleware for now.
Types ¶
type Client ¶
Client is a rpc client manage tcp connection it will establish connection when needed and reconnect if socket breaks.
type RpcApplication ¶
type RpcApplication interface {
scene.Application
RegisterService(server *rpc.Server) error
}
Click to show internal directories.
Click to hide internal directories.