MCPcopy
hub / github.com/gotify/server / GetUserByName

Method GetUserByName

api/user.go:18–18  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

16 GetUsers() ([]*model.User, error)
17 GetUserByID(id uint) (*model.User, error)
18 GetUserByName(name string) (*model.User, error)
19 DeleteUserByID(id uint) error
20 UpdateUser(user *model.User) error
21 CreateUser(user *model.User) error

Callers 8

TestUserMethod · 0.65
TestUserPluginsMethod · 0.65
TestMigrationMethod · 0.65
Test_WithDefaultFunction · 0.65
Test_CreateUserMethod · 0.65
CreateUserMethod · 0.65

Implementers 1

GormDatabasedatabase/database.go

Calls

no outgoing calls

Tested by 7

TestUserMethod · 0.52
TestUserPluginsMethod · 0.52
TestMigrationMethod · 0.52
Test_WithDefaultFunction · 0.52
Test_CreateUserMethod · 0.52