Documentation ¶
Overview ¶
Package client @Title title @Description desc @Author yr 2024/11/7 @Update yr 2024/11/7
Package client @Title 本地服务的Client @Description 本地服务的Client,调用时直接使用rpcHandler发往对应的service @Author yr 2024/9/3 下午4:26 @Update yr 2024/9/3 下午4:26
Package client @Title title @Description desc @Author yr 2024/12/3 @Update yr 2024/12/3
Package client @Title 远程服务的Client @Description 远程服务的Client @Author yr 2024/9/3 下午4:26 @Update yr 2024/9/3 下午4:26
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSender ¶ added in v1.0.2
func NewSender(senderType string, pid *actor.PID, rpcHandler inf.IRpcHandler) inf.IRpcSender
func NewTmpSender ¶ added in v1.0.2
func NewTmpSender(senderType string, pid *actor.PID, rpcHandler inf.IRpcHandler) inf.IRpcSender
func Register ¶ added in v1.0.2
func Register(tp string, creator HandlerCreator)
Types ¶
type HandlerCreator ¶ added in v1.0.2
type HandlerCreator func(sender inf.IRpcSender) inf.IRpcSenderHandler
type Sender ¶ added in v1.0.2
type Sender struct { inf.IRpcHandler inf.IRpcSenderHandler // contains filtered or unexported fields }
func (*Sender) SendRequest ¶ added in v1.0.2
func (*Sender) SendRequestAndRelease ¶ added in v1.0.2
Click to show internal directories.
Click to hide internal directories.