package
Version:
v0.0.0-...-ddfd2c2
Opens a new window with list of versions in this module.
Published: Oct 31, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func PublishNotification(user, title, content string, ntype int) error
发布用户通知
type Event struct {
Level int `json:"level"`
Title string `json:"title"`
Content string `json:"content"`
}
type Notification struct {
Type int `json:"type"`
Title string `json:"title"`
Content string `json:"content"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.