Documentation
¶
Overview ¶
Package connector provides the functionality to send rpc requests to connector server. You can understand the connector servers as a gateway to get requests and push commands to client.
Index ¶
- type Client
- func (m *Client) GroupDissolved(uids []string, groupID int64)
- func (m *Client) PushAcceptInvite(inviter, invitee string)
- func (m *Client) PushCancelMatch(uids []string, cancelUID string)
- func (m *Client) PushGroupState(uids []string, groupID int64, state entry.GroupState)
- func (m *Client) PushGroupUsers(uids []string, users pto.GroupUser)
- func (m *Client) PushInviteMsg(param *pto.InviteMsg)
- func (m *Client) PushKick(uid string, groupID int64)
- func (m *Client) PushRefuseInvite(inviter, invitee, refuseMsg string)
- func (m *Client) PushVoiceState(uids []string, states *pto.UserVoiceState)
- func (m *Client) UpdateOnlineState(uids []string, state int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct{}
func (*Client) GroupDissolved ¶
func (*Client) PushAcceptInvite ¶
func (*Client) PushCancelMatch ¶
func (*Client) PushGroupState ¶
func (m *Client) PushGroupState(uids []string, groupID int64, state entry.GroupState)
func (*Client) PushInviteMsg ¶
func (*Client) PushRefuseInvite ¶
func (*Client) PushVoiceState ¶
func (m *Client) PushVoiceState(uids []string, states *pto.UserVoiceState)
func (*Client) UpdateOnlineState ¶
Click to show internal directories.
Click to hide internal directories.