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

Method GetUsers

api/user.go:16–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14// The UserDatabase interface for encapsulating database access.
15type UserDatabase interface {
16 GetUsers() ([]*model.User, error)
17 GetUserByID(id uint) (*model.User, error)
18 GetUserByName(name string) (*model.User, error)
19 DeleteUserByID(id uint) error

Callers 4

TestUserMethod · 0.65
Test_UsersMethod · 0.65
Test_GetUsersMethod · 0.65
GetUsersMethod · 0.65

Implementers 1

GormDatabasedatabase/database.go

Calls

no outgoing calls

Tested by 3

TestUserMethod · 0.52
Test_UsersMethod · 0.52
Test_GetUsersMethod · 0.52