Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
49
func
(tk *Token) GetUserID() string {
50
return
tk.data.UserId
51
}
52
53
// GetNodeID return node id
54
func
(tk *Token) GetNodeID() []byte {
Callers
5
sendDirect
Method · 0.80
sendForward
Method · 0.80
sendMsg
Method · 0.80
TestParseToken
Function · 0.80
VerifyToken
Method · 0.80
Calls
no outgoing calls
Tested by
1
TestParseToken
Function · 0.64