Versions in this module Expand all Collapse all v0 v0.0.2 Jul 30, 2023 Changes in this version + const Error + const Info + const Success + const Warning + func NewNotify() web.Constructor + type Notification struct + Message map[T]chan *Records[T] + func (notify *Notification[T]) GetNotify(id T) chan *Records[T] + func (notify *Notification[T]) New(level int, id T, title, text string) *Records[T] + func (notify *Notification[T]) Publish(records *Records[T], user T, ids ...T) + type NotifyMapper struct + AddRecords func(any) error + DelRecords func(any) error + FindUntreated func(any) ([]*Records[T], error) + type Records struct + CreateTime string + Data string + Del int + HandleTime string + Id T + MsgType int + PubId T + Status int + SubId T + Template string + Text string + Title string + func NewRecords(level int, id T, title, text string) *Records[T] + func (r *Records[T]) String() string