Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TruthHun/BookStack
/ Auth
Struct
Auth
models/api.go:34–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
}
33
34
type
Auth
struct
{
35
Id int
36
Token string `orm:
"size(32);unique"
`
37
Uid int `orm:
"index"
`
38
}
39
40
func
NewAuth() *Auth {
41
return
&Auth{}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected