notification

package
v1.29.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitAPI

func InitAPI()

Types

type NotificationAPI

type NotificationAPI struct {
	core.Handler
}

type SearchNotificationsRequest

type SearchNotificationsRequest struct {
	From    int                        `json:"from"`
	Size    int                        `json:"size"`
	Keyword string                     `json:"keyword"`
	Status  []model.NotificationStatus `json:"status"`
	Types   []model.NotificationType   `json:"types"`
}

type SetNotificationsReadRequest

type SetNotificationsReadRequest struct {
	Ids   []string                 `json:"ids"`
	Types []model.NotificationType `json:"types"`
}

Jump to

Keyboard shortcuts

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