Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
166
func
RootAuth()
func
(c *gin.Context) {
167
return
func
(c *gin.Context) {
168
authHelper(c, common.RoleRootUser)
169
}
170
}
171
172
func
WssAuth(c *gin.Context) {
173
Callers
1
SetApiRouter
Function · 0.92
Calls
1
authHelper
Function · 0.85
Tested by
no test coverage detected