MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / RootAuth

Function RootAuth

middleware/auth.go:166–170  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164}
165
166func RootAuth() func(c *gin.Context) {
167 return func(c *gin.Context) {
168 authHelper(c, common.RoleRootUser)
169 }
170}
171
172func WssAuth(c *gin.Context) {
173

Callers 1

SetApiRouterFunction · 0.92

Calls 1

authHelperFunction · 0.85

Tested by

no test coverage detected