im

package
v0.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hub

type Hub struct {
	// contains filtered or unexported fields
}

func NewHub

func NewHub() *Hub

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) Count

func (i *Im) Count(c *context.Context, req *pbim.CountReq) (rsp *pbim.CountRsp, err error)

func (*Im) SendMessage

func (i *Im) SendMessage(c *context.Context, req chan *pbim.SendMessageReq, errIn chan error) (chan *pbim.SendMessageRsp, chan error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL