Documentation ¶
Index ¶
- type MentionNotificationBuilder
- type MessagesBuilder
- type NotificationsBuilder
- type NotificationsBuilderCreator
- type PostNotificationBuilder
- type PostsNotificationsBuilder
- type ReactionNotificationBuilder
- type ReactionsNotificationsBuilder
- type RelationshipNotificationBuilder
- type RelationshipsNotificationsBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MentionNotificationBuilder ¶
type MentionNotificationBuilder = func(post types.Post, mention poststypes.TextTag) types.NotificationData
type MessagesBuilder ¶
type MessagesBuilder = func(recipient types.NotificationRecipient, data types.NotificationData) (types.NotificationMessage, error)
MessagesBuilder represents a NotificationMessage builder
type NotificationsBuilder ¶
type NotificationsBuilder interface { Posts() PostsNotificationsBuilder Reactions() ReactionsNotificationsBuilder Relationships() RelationshipsNotificationsBuilder }
NotificationsBuilder contains all the notifications builders
type NotificationsBuilderCreator ¶
type NotificationsBuilderCreator func(context notificationscontext.Context) NotificationsBuilder
type PostNotificationBuilder ¶
type PostsNotificationsBuilder ¶
type PostsNotificationsBuilder interface { Comment() PostNotificationBuilder Reply() PostNotificationBuilder Repost() PostNotificationBuilder Quote() PostNotificationBuilder Mention() MentionNotificationBuilder }
PostsNotificationsBuilder contains all the notifications builders for the posts module
type ReactionsNotificationsBuilder ¶
type ReactionsNotificationsBuilder interface {
Reaction() ReactionNotificationBuilder
}
ReactionsNotificationsBuilder contains all the notifications builders for the reactions module
type RelationshipNotificationBuilder ¶
type RelationshipNotificationBuilder = func(relationship types.Relationship) types.NotificationData
type RelationshipsNotificationsBuilder ¶
type RelationshipsNotificationsBuilder interface {
Relationship() RelationshipNotificationBuilder
}
RelationshipsNotificationsBuilder contains all the notifications builders for the relationships module
Click to show internal directories.
Click to hide internal directories.