Documentation
¶
Index ¶
- func BuildGroupName(ownerID, type_ string) string
- func CancelAndReBuildCtx(buildFunc func(ctx context.Context) context.Context, ...) context.Context
- func FormatErrorStack(err error) string
- func GenUserIDs(num int) []string
- func GetUserID(num int) string
- func GetUserNum(id string) (int, error)
- func IsLogin(id string) bool
- func IsNumLogin(num int) bool
- func IsSuperUser(id string) bool
- func MustGetUserNum(id string) int
- func NextLoginNum(num int) int
- func NextLoginOffsetNum(num, offset int) int
- func NextLoginOffsetUserIDs(userNum, offset int) []string
- func NextNum(num int) int
- func NextOffsetNum(num, offset int) int
- func NextOffsetNums(userNum, offset int) []int
- func NextOffsetUserIDs(userNum, offset int) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildGroupName ¶
func CancelAndReBuildCtx ¶ added in v3.8.1
func FormatErrorStack ¶ added in v3.8.1
func GenUserIDs ¶ added in v3.8.1
func GetUserNum ¶
func IsNumLogin ¶ added in v3.8.1
IsNumLogin check if the user is login
func MustGetUserNum ¶
func NextLoginOffsetNum ¶ added in v3.8.1
NextLoginOffsetNum get num with an offset behind.
func NextLoginOffsetUserIDs ¶ added in v3.8.1
NextLoginOffsetUserIDs get userIDs with an offset behind.
func NextOffsetNum ¶
NextOffsetNum get num with an offset behind.
func NextOffsetNums ¶
NextOffsetNums get num with an offset behind.
func NextOffsetUserIDs ¶
NextOffsetUserIDs get userIDs with an offset behind.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.