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

Method fireUserAdded

api/user.go:50–57  ·  view source on GitHub ↗
(uid uint)

Source from the content-addressed store, hash-verified

48}
49
50func (c *UserChangeNotifier) fireUserAdded(uid uint) error {
51 for _, cb := range c.userAddedCallbacks {
52 if err := cb(uid); err != nil {
53 return err
54 }
55 }
56 return nil
57}
58
59// The UserAPI provides handlers for managing users.
60type UserAPI struct {

Callers 1

CreateUserMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected