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

Method OnUserDeleted

api/user.go:32–34  ·  view source on GitHub ↗

OnUserDeleted is called on user deletion.

(cb func(uid uint) error)

Source from the content-addressed store, hash-verified

30
31// OnUserDeleted is called on user deletion.
32func (c *UserChangeNotifier) OnUserDeleted(cb func(uid uint) error) {
33 c.userDeletedCallbacks = append(c.userDeletedCallbacks, cb)
34}
35
36// OnUserAdded is called on user creation.
37func (c *UserChangeNotifier) OnUserAdded(cb func(uid uint) error) {

Callers 3

BeforeTestMethod · 0.80
CreateFunction · 0.80

Calls

no outgoing calls

Tested by 2

BeforeTestMethod · 0.64