Help us shape the future of Go! Take the 2026 Go Developer Survey

notify

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Active

func Active(ctx context.Context, c *app.RequestContext)

Active . @router /notifies/active [GET]

func Create

func Create(ctx context.Context, c *app.RequestContext)

Create . @router /admin/notifies [POST]

func Delete

func Delete(ctx context.Context, c *app.RequestContext)

Delete . @router /admin/notifies/:id [DELETE]

func Get

func Get(ctx context.Context, c *app.RequestContext)

Get . @router /admin/notifies/:id [GET]

func List

func List(ctx context.Context, c *app.RequestContext)

List . @router /admin/notifies [GET]

func MarkRead added in v0.15.0

func MarkRead(ctx context.Context, c *app.RequestContext)

MarkRead 标记已读(当前仅支持 all=true) POST /api/v1/notifies/mark-read [POST]

func Mine added in v0.15.0

func Mine(ctx context.Context, c *app.RequestContext)

Mine 我的通知列表(含广播 + 定向) GET /api/v1/notifies/mine [GET]

func UnreadCount added in v0.15.0

func UnreadCount(ctx context.Context, c *app.RequestContext)

UnreadCount 未读数(未登录防御性返回 0——迁移前语义;路由层实际已拦截匿名) GET /api/v1/notifies/unread-count [GET]

func Update

func Update(ctx context.Context, c *app.RequestContext)

Update . @router /admin/notifies/:id [PUT]

Types

This section is empty.

Jump to

Keyboard shortcuts

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