im

package
v1.1.24 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: Apache-2.0 Imports: 3 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 *phello.ConnectReq, rsp *phello.ConnectRsp)

func (*Im) Count

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

func (*Im) SendMessage

func (i *Im) SendMessage(
	c *context.Context,
	req chan *phello.SendMessageReq,
	exit chan struct{},
) chan *phello.SendMessageRsp

Jump to

Keyboard shortcuts

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