Documentation ¶
Index ¶
- type Hub
- type Im
- func (i *Im) Connect(c *context.Context, req *pbim.ConnectReq) (rsp *pbim.ConnectRsp, err error)
- func (i *Im) Count(c *context.Context, req *pbim.CountReq) (rsp *pbim.CountRsp, err error)
- func (i *Im) SendMessage(c *context.Context, req chan *pbim.SendMessageReq, errIn chan error) (chan *pbim.SendMessageRsp, chan error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Im ¶
type Im struct { H *Hub // contains filtered or unexported fields }
func (*Im) Connect ¶
func (i *Im) Connect(c *context.Context, req *pbim.ConnectReq) (rsp *pbim.ConnectRsp, err error)
func (*Im) SendMessage ¶
func (i *Im) SendMessage(c *context.Context, req chan *pbim.SendMessageReq, errIn chan error) (chan *pbim.SendMessageRsp, chan error)
Click to show internal directories.
Click to hide internal directories.