Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindFunction ¶
type BindFunction interface{}
type RWebsocketClient ¶
type RWebsocketClient struct {
// contains filtered or unexported fields
}
The first
func NewRWebsocketClient ¶
func NewRWebsocketClient(Address string) (ret RWebsocketClient, _ error)
func (*RWebsocketClient) Bind ¶
func (z *RWebsocketClient) Bind(FunctionName string, Function BindFunction) error
func (*RWebsocketClient) Call ¶
func (z *RWebsocketClient) Call(FunctionName string, Arguments ...interface{}) (interface{}, error)
Call 调用客户端函数 阻塞
func (*RWebsocketClient) CallNotWait ¶ added in v0.0.17
func (z *RWebsocketClient) CallNotWait(FunctionName string, Arguments ...interface{}) error
CallNotWait 不等待回复
type Replier ¶
type Replier struct {
// contains filtered or unexported fields
}
type StandardCall ¶
type StandardReply ¶
Click to show internal directories.
Click to hide internal directories.