notify_pusher

package
v2.9.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotifyPusher

type NotifyPusher struct {
	// contains filtered or unexported fields
}

func NewNotifyPusher

func NewNotifyPusher(conf *NotifyPusherConf) *NotifyPusher

func (*NotifyPusher) Push

func (pusher *NotifyPusher) Push(comment *entity.Comment, pComment *entity.Comment)

通知发送 (from comment to parentComment)

type NotifyPusherConf

type NotifyPusherConf struct {
	config.AdminNotifyConf
	Dao *dao.Dao

	// Provide a custom function to bridge the gap between Notify pusher and Email pusher
	EmailPush func(notify *entity.Notify) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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