notice

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MulanPSL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MessageTypeInfo = iota + 1
	MessageTypeWarn
	MessageTypeError
)

Variables

This section is empty.

Functions

func GetManager

func GetManager() *manager

Types

type Notice

type Notice struct {
	Id      string `json:"id"`
	Type    int    `json:"type"`
	Title   string `json:"title"`
	Message string `json:"message"`
	Time    int64  `json:"time"`
	IsRead  bool   `json:"is_read"`
}

Jump to

Keyboard shortcuts

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