Documentation ¶
Index ¶
- type Hub
- type Im
- func (i *Im) Connect(c *context.Context, req *phello.ConnectReq, rsp *phello.ConnectRsp) (err error)
- func (i *Im) Count(c *context.Context, req *phello.CountReq, rsp *phello.CountRsp) (err error)
- func (i *Im) SendMessage(c *context.Context, req chan *phello.SendMessageReq, errIn chan error) (chan *phello.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 *phello.ConnectReq, rsp *phello.ConnectRsp) (err error)
func (*Im) SendMessage ¶
func (i *Im) SendMessage( c *context.Context, req chan *phello.SendMessageReq, errIn chan error, ) (chan *phello.SendMessageRsp, chan error)
Click to show internal directories.
Click to hide internal directories.