vars

package
v3.8.1-rc.6 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommonGroup = "common"
	LargeGroup  = "large"
)
View Source
const (
	GroupNamePrefix = "group_test_"
)
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

	ShouldRegister      bool // determine whether register
	ShouldImportFriends bool // determine whether import friends
	ShouldCreateGroup   bool // determine whether create group
	ShouldSendMsg       bool // determine whether send messages

	ShouldCheckGroupNum        bool // determine whether check group num
	ShouldCheckConversationNum bool // determine whether check conversation num
	ShouldCheckMessageNum      bool // determine whether check message num
	ShouldCheckUninsAndReins   bool // determine whether check again after uninstall and reinstall

	LoginRate float64 // number of login user rate
)
View Source
var (
	UserIDs      []string // all user ids
	SuperUserIDs []string // user ids of users with all friends

	Contexts []context.Context // users contexts

	LoginEndUserNum int // e.g. if LoginEndUserNum = 5, login user is [0,1,2,3,4]
	NowLoginNum     atomic.Int64
)
View Source
var (
	MsgConsuming chan time.Duration
)

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