MCPcopy 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
38func GenerateNodeID() string {
39 return RandString(40)
40}
41
42func IsUniqueSlice(list interface{}) bool {
43 switch items := list.(type) {

Callers 1

NewClusterNodeFunction · 0.92

Calls 1

RandStringFunction · 0.85

Tested by

no test coverage detected