Documentation ¶
Index ¶
- func Array2Str(array []int32) string
- func AttachPanicHandle(f func()) func()
- func CheckGoroutineErr(errCtx context.Context) error
- func GenerateSecret() string
- func GenerateSha1Sign(params, appSecret string) string
- func GenerateToken(username, password string) (string, error)
- func Mkdir(path string) error
- func MkdirAll(path string) error
- func PathExists(path string) (bool, error)
- func RandInt(min, max int) int
- func RemoveDuplicateElement(src []string) []string
- func SeparateTable(id string, count int) string
- func StartTicker(d time.Duration, f func()) chan struct{}
- func Str2Array(s string) []int32
- type Claims
- type GoTickets
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachPanicHandle ¶
func AttachPanicHandle(f func()) func()
func CheckGoroutineErr ¶
func GenerateSha1Sign ¶
func GenerateToken ¶
func PathExists ¶
func RemoveDuplicateElement ¶
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.