utils

package
v0.0.0-...-1ca43b3 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenRoomId

func GenRoomId() string

GenRoomId generate a random room id which length is 10

func GoCtxWithRecover

func GoCtxWithRecover(ctx context.Context, f func(context.Context))

func GoWithRecover

func GoWithRecover(f func())

func PrintStack

func PrintStack(r interface{})

func RunWithRecover

func RunWithRecover(f func())

Types

This section is empty.

Jump to

Keyboard shortcuts

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