Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/kvrocks-controller
/ GenerateNodeID
Function
GenerateNodeID
util/string.go:38–40 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
36
}
37
38
func
GenerateNodeID() string {
39
return
RandString(40)
40
}
41
42
func
IsUniqueSlice(list
interface
{}) bool {
43
switch
items := list.(
type
) {
Callers
1
NewClusterNode
Function · 0.92
Calls
1
RandString
Function · 0.85
Tested by
no test coverage detected