notificationservice

package
v0.2.49 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultNotificationPageSize = 20
	MaxNotificationPageSize     = 50
)

Variables

This section is empty.

Functions

func GetNotificationCursorList added in v0.2.12

func GetNotificationCursorList(userId uint64, pageSize int, cursor uint64, unreadOnly bool) ([]*eventNotification.Entity, uint64, bool, error)

func SendBadgeNotification added in v0.2.49

func SendBadgeNotification(userId uint64, badgeCode string, badgeName string, badgeIconURL string) error

func SendCommentNotification added in v0.2.49

func SendCommentNotification(userId uint64, topicId uint64, commentContent string, commenterId uint64, postId uint64) error

SendCommentNotification 发送评论通知

func SendFollowNotification added in v0.2.49

func SendFollowNotification(userId uint64, followerId uint64, followerName string) error

SendFollowNotification 发送关注通知

func SendPostReplyNotification added in v0.2.49

func SendPostReplyNotification(userId uint64, postId uint64, topicId uint64, replyContent string, replierId uint64) error

SendPostReplyNotification 发送 post 回复通知

func SendTopicPostNotifications added in v0.2.49

func SendTopicPostNotifications(userIds []uint64, topicId uint64, postId uint64, commentContent string, commenterId uint64) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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