users

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckUserOnline

func CheckUserOnline(appId uint32, userId string) (online bool)

查询用户是否在线

func SendUserMessage

func SendUserMessage(appId uint32, userId string, msgId, message string) (sendResults bool, err error)

给用户发送消息

func SendUserMessageAll

func SendUserMessageAll(appId uint32, userId string, msgId, message string) (sendResults bool, err error)

给全体用户发消息

func UserList

func UserList() (userList []string)

查询所有用户

Types

This section is empty.

Source Files

  • user_srv.go

Jump to

Keyboard shortcuts

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