Versions in this module Expand all Collapse all v0 v0.0.2 Nov 22, 2019 Changes in this version + func RegisterRouter(g *gin.RouterGroup) + type Handler struct + func (*Handler) Delete() gin.HandlerFunc + func (*Handler) List() gin.HandlerFunc + func (*Handler) MarkRead() gin.HandlerFunc + func (*Handler) New() gin.HandlerFunc + type RNotification struct + Content string + CreateTime time.Time + ID uint + IsRead bool + UserID uint + func BindList(notifications []cpt.Notification) []*RNotification + func BindNotification(n *cpt.Notification) *RNotification + type ReqNew struct + Content string + UserID uint + type RespList struct + Notifications []*RNotification + type RespNew struct + NotificationID uint v0.0.1 Nov 22, 2019