MCPcopy Create free account
hub / github.com/chanify/chanify / GetUserID

Method GetUserID

model/token.go:49–51  ·  view source on GitHub ↗

GetUserID return user id string

()

Source from the content-addressed store, hash-verified

47
48// GetUserID return user id string
49func (tk *Token) GetUserID() string {
50 return tk.data.UserId
51}
52
53// GetNodeID return node id
54func (tk *Token) GetNodeID() []byte {

Callers 5

sendDirectMethod · 0.80
sendForwardMethod · 0.80
sendMsgMethod · 0.80
TestParseTokenFunction · 0.80
VerifyTokenMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestParseTokenFunction · 0.64