vars

package
v3.8.0-rc.15 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestIP      = "125.124.195.201"
	APIAddr     = "http://" + TestIP + ":10002"
	WsAddr      = "ws://" + TestIP + ":10001"
	Secret      = "openIM123"
	PlatformID  = constant.WindowsPlatformID
	LogLevel    = uint32(5)
	DataDir     = "../"
	LogFilePath = "../"
)
View Source
const (
	CommonGroup = "common"
	LargeGroup  = "large"
)
View Source
const (
	ErrGroupCommonLimit = 20
)
View Source
const (
	GroupNamePrefix = "group_test_"
)
View Source
const (
	MaxUserNum = 1e+5
)
View Source
const (
	UserIDPrefix = "test_v3_u"
)

Variables

View Source
var (
	UserNum              int // user num
	SuperUserNum         int // number of users with all friends
	LargeGroupNum        int // number of large group
	CommonGroupNum       int // number of common group create by each user
	CommonGroupMemberNum int // number of common group member num
	SingleMessageNum     int // number of single message each user send
	GroupMessageNum      int // number of group message each user send
)
View Source
var (
	UserIDs      []string // all user ids
	SuperUserIDs []string // user ids of users with all friends
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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