MCPcopy Index your code
hub / github.com/gotify/server / User

Struct User

model/user.go:4–12  ·  view source on GitHub ↗

The User holds information about the credentials of a user and its application and client tokens.

Source from the content-addressed store, hash-verified

2
3// The User holds information about the credentials of a user and its application and client tokens.
4type User struct {
5 ID uint `gorm:"primaryKey;autoIncrement"`
6 Name string `gorm:"type:varchar(180);uniqueIndex:uix_users_name"`
7 Pass []byte
8 Admin bool
9 Applications []Application
10 Clients []Client
11 Plugins []PluginConf
12}
13
14// UserExternal Model
15//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected