MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / getDeveloperID

Function getDeveloperID

cmd/cql-proxy/api/utils.go:58–60  ·  view source on GitHub ↗
(c *gin.Context)

Source from the content-addressed store, hash-verified

56}
57
58func getDeveloperID(c *gin.Context) int64 {
59 return getSession(c).MustGetInt("developer_id")
60}
61
62func getUserID(c *gin.Context) int64 {
63 return getSession(c).MustGetInt("user_id")

Callers 15

applyTokenFunction · 0.85
showAllAccountsFunction · 0.85
getBalanceFunction · 0.85
setMainAccountFunction · 0.85
genKeyPairFunction · 0.85
uploadKeyPairFunction · 0.85
deleteKeyPairFunction · 0.85
downloadKeyPairFunction · 0.85
createDBFunction · 0.85
topUpFunction · 0.85
databaseBalanceFunction · 0.85
databaseListFunction · 0.85

Calls 2

getSessionFunction · 0.85
MustGetIntMethod · 0.80

Tested by

no test coverage detected