MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / Token

Function Token

pkg/utils/random/random.go:29–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29func Token() string {
30 return "openlist-" + uuid.NewString() + String(64)
31}
32
33func RangeInt64(left, right int64) int64 {
34 return mathRand.Int63n(left+right) - left

Callers 3

InitialSettingsFunction · 0.92
createSessionLockedMethod · 0.92
ResetTokenFunction · 0.92

Calls 1

StringFunction · 0.70

Tested by

no test coverage detected