notifications

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2017 License: MIT Imports: 1 Imported by: 32

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteAllNotifications

func DeleteAllNotifications(id uint)

DeleteAllNotifications : Erase notifications from a user

func NotifyUser

func NotifyUser(user *models.User, name string, msg string, url string, email bool)

NotifyUser : Notify a user with a notification according to his settings

func ToggleReadNotification

func ToggleReadNotification(identifier string, id uint)

ToggleReadNotification : Make a notification as read according to its identifier

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL