events

package
v0.0.0-...-f295edf Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BannerCreatedEventName = "BannerCreatedEvent"
	BannerUpdatedEventName = "BannerUpdatedEvent"
	BannerDeletedEventName = "BannerDeletedEvent"
)
View Source
const (
	CategoryCreatedEventName       = "CategoryCreatedEvent"
	CategoryUpdatedEventName       = "CategoryUpdatedEvent"
	CategoryDeletedEventName       = "CategoryDeletedEvent"
	CategoryParentChangedEventName = "CategoryParentChangedEvent"
	CategoryParentRemovedEventName = "CategoryParentRemovedEvent"
)
View Source
const (
	ChannelCreatedEventName = "ChannelCreatedEvent"
	ChannelUpdatedEventName = "ChannelUpdatedEvent"
	ChannelDeletedEventName = "ChannelDeletedEvent"
)
View Source
const (
	CommentCreatedEventName = "CommentCreatedEvent"
	CommentUpdatedEventName = "CommentUpdatedEvent"
	CommentDeletedEventName = "CommentDeletedEvent"
)
View Source
const (
	FileUploadedEventName = "FileUploadedEvent"
	FileUpdatedEventName  = "FileUpdatedEvent"
	FileDeletedEventName  = "FileDeletedEvent"
)
View Source
const (
	PollCreatedEventName = "PollCreatedEvent"
	PollUpdatedEventName = "PollUpdatedEvent"
	PollDeletedEventName = "PollDeletedEvent"
)
View Source
const (
	PostCategoryAddedEventName   = "PostCategoryAddedEvent"
	PostCategoryRemovedEventName = "PostCategoryRemovedEvent"
)
View Source
const (
	PostCreatedEventName   = "PostCreatedEvent"
	PostUpdatedEventName   = "PostUpdatedEvent"
	PostDeletedEventName   = "PostDeletedEvent"
	PostPublishedEventName = "PostPublishedEvent"
	PostConcealedEventName = "PostConcealedEvent"
)
View Source
const (
	PostPictureChangedEventName = "PostPictureChangedEvent"
	PostPictureRemovedEventName = "PostPictureRemovedEvent"
)
View Source
const (
	PostTagAddedEventName   = "PostTagAddedEvent"
	PostTagRemovedEventName = "PostTagRemovedEvent"
)
View Source
const (
	PostVideoChangedEventName = "PostVideoChangedEvent"
	PostVideoRemovedEventName = "PostVideoRemovedEvent"
)
View Source
const (
	TagCreatedEventName = "TagCreatedEvent"
	TagUpdatedEventName = "TagUpdatedEvent"
	TagDeletedEventName = "TagDeletedEvent"
)
View Source
const (
	UserCreatedEventName         = "UserCreatedEvent"
	UserUpdatedEventName         = "UserUpdatedEvent"
	UserVerifiedEventName        = "UserVerifiedEvent"
	UserIdentityChangedEventName = "UserIdentityChangedEvent"
	UserPasswordChangedEventName = "UserPasswordChangedEvent"
	UserDeletedEventName         = "UserDeletedEvent"
)
View Source
const (
	UserPictureChangedEventName = "UserPictureChangedEvent"
	UserPictureRemovedEventName = "UserPictureRemovedEvent"
)
View Source
const (
	PostAuthorChangedEventName = "PostAuthorChangedEvent"
)

Variables

This section is empty.

Functions

func NewBannerCreatedEvent

func NewBannerCreatedEvent(bannerEntity *entities.BannerEntity) contracts.BannerEvent

func NewBannerDeletedEvent

func NewBannerDeletedEvent(bannerEntity *entities.BannerEntity) contracts.BannerEvent

func NewBannerUpdatedEvent

func NewBannerUpdatedEvent(bannerEntity *entities.BannerEntity) contracts.BannerEvent

func NewCategoryCreatedEvent

func NewCategoryCreatedEvent(categoryEntity *entities.CategoryEntity) contracts.CategoryEvent

func NewCategoryDeletedEvent

func NewCategoryDeletedEvent(categoryEntity *entities.CategoryEntity) contracts.CategoryEvent

func NewCategoryParentChangedEvent

func NewCategoryParentChangedEvent(categoryEntity *entities.CategoryEntity) contracts.CategoryEvent

func NewCategoryParentRemovedEvent

func NewCategoryParentRemovedEvent(categoryEntity *entities.CategoryEntity) contracts.CategoryEvent

func NewCategoryUpdatedEvent

func NewCategoryUpdatedEvent(categoryEntity *entities.CategoryEntity) contracts.CategoryEvent

func NewChannelCreatedEvent

func NewChannelCreatedEvent(channelEntity *entities.ChannelEntity) contracts.ChannelEvent

func NewChannelDeletedEvent

func NewChannelDeletedEvent(channelEntity *entities.ChannelEntity) contracts.ChannelEvent

func NewChannelUpdatedEvent

func NewChannelUpdatedEvent(channelEntity *entities.ChannelEntity) contracts.ChannelEvent

func NewCommentCreatedEvent

func NewCommentCreatedEvent(commentEntity *entities.CommentEntity) contracts.CommentEvent

func NewCommentDeletedEvent

func NewCommentDeletedEvent(commentEntity *entities.CommentEntity) contracts.CommentEvent

func NewCommentUpdatedEvent

func NewCommentUpdatedEvent(commentEntity *entities.CommentEntity) contracts.CommentEvent

func NewEvent

func NewEvent(name string) contracts.Event

func NewFileDeletedEvent

func NewFileDeletedEvent(fileEntity *entities.FileEntity) contracts.FileEvent

func NewFileUpdatedEvent

func NewFileUpdatedEvent(fileEntity *entities.FileEntity) contracts.FileEvent

func NewFileUploadedEvent

func NewFileUploadedEvent(fileEntity *entities.FileEntity) contracts.FileEvent

func NewPollCreatedEvent

func NewPollCreatedEvent(pollEntity *entities.PollEntity) contracts.PollEvent

func NewPollDeletedEvent

func NewPollDeletedEvent(pollEntity *entities.PollEntity) contracts.PollEvent

func NewPollUpdatedEvent

func NewPollUpdatedEvent(pollEntity *entities.PollEntity) contracts.PollEvent

func NewPostAuthorChangedEvent

func NewPostAuthorChangedEvent(
	postEntity *entities.PostEntity,
	postAuthorEntity *entities.UserEntity,
) contracts.PostAuthorEvent

func NewPostCategoryAddedEvent

func NewPostCategoryAddedEvent(
	postEntity *entities.PostEntity, categoryEntity *entities.CategoryEntity,
) contracts.PostCategoryEvent

NewPostCategoryAddedEvent

func NewPostCategoryRemovedEvent

func NewPostCategoryRemovedEvent(
	postEntity *entities.PostEntity, categoryEntity *entities.CategoryEntity,
) contracts.PostCategoryEvent

NewPostCategoryRemovedEvent

func NewPostConcealedEvent

func NewPostConcealedEvent(postEntity *entities.PostEntity) contracts.PostEvent

func NewPostCreatedEvent

func NewPostCreatedEvent(postEntity *entities.PostEntity) contracts.PostEvent

func NewPostDeletedEvent

func NewPostDeletedEvent(postEntity *entities.PostEntity) contracts.PostEvent

func NewPostPictureChangedEvent

func NewPostPictureChangedEvent(
	postEntity *entities.PostEntity,
	postPicture *entities.FileEntity,
) contracts.PostPictureEvent

func NewPostPictureRemovedEvent

func NewPostPictureRemovedEvent(postEntity *entities.PostEntity) contracts.PostPictureEvent

func NewPostPublishedEvent

func NewPostPublishedEvent(postEntity *entities.PostEntity) contracts.PostEvent

func NewPostTagAddedEvent

func NewPostTagAddedEvent(
	postEntity *entities.PostEntity, tagEntity *entities.TagEntity,
) contracts.PostTagEvent

NewPostTagAddedEvent

func NewPostTagRemovedEvent

func NewPostTagRemovedEvent(
	postEntity *entities.PostEntity, tagEntity *entities.TagEntity,
) contracts.PostTagEvent

NewPostTagRemovedEvent

func NewPostUpdatedEvent

func NewPostUpdatedEvent(postEntity *entities.PostEntity) contracts.PostEvent

func NewPostVideoChangedEvent

func NewPostVideoChangedEvent(
	postEntity *entities.PostEntity,
	postVideo *entities.FileEntity,
) contracts.PostVideoEvent

func NewPostVideoRemovedEvent

func NewPostVideoRemovedEvent(postEntity *entities.PostEntity) contracts.PostVideoEvent

func NewTagCreatedEvent

func NewTagCreatedEvent(tagEntity *entities.TagEntity) contracts.TagEvent

func NewTagDeletedEvent

func NewTagDeletedEvent(tagEntity *entities.TagEntity) contracts.TagEvent

func NewTagUpdatedEvent

func NewTagUpdatedEvent(tagEntity *entities.TagEntity) contracts.TagEvent

func NewUserCreatedEvent

func NewUserCreatedEvent(userEntity *entities.UserEntity) contracts.UserEvent

func NewUserDeletedEvent

func NewUserDeletedEvent(userEntity *entities.UserEntity) contracts.UserEvent

func NewUserIdentityChangedEvent

func NewUserIdentityChangedEvent(userEntity *entities.UserEntity) contracts.UserEvent

func NewUserPasswordChangedEvent

func NewUserPasswordChangedEvent(userEntity *entities.UserEntity) contracts.UserEvent

func NewUserPictureChangedEvent

func NewUserPictureChangedEvent(
	userEntity *entities.UserEntity,
	userPicture *entities.FileEntity,
) contracts.UserPictureEvent

func NewUserPictureRemovedEvent

func NewUserPictureRemovedEvent(userEntity *entities.UserEntity) contracts.UserPictureEvent

func NewUserUpdatedEvent

func NewUserUpdatedEvent(userEntity *entities.UserEntity) contracts.UserEvent

func NewUserVerifiedEvent

func NewUserVerifiedEvent(userEntity *entities.UserEntity) contracts.UserEvent

Types

type BannerEvent

type BannerEvent struct {
	*Event
	// contains filtered or unexported fields
}

func (*BannerEvent) BannerEntity

func (e *BannerEvent) BannerEntity() *entities.BannerEntity

type CategoryEvent

type CategoryEvent struct {
	*Event
	// contains filtered or unexported fields
}

func (*CategoryEvent) CategoryEntity

func (e *CategoryEvent) CategoryEntity() *entities.CategoryEntity

type ChannelEvent

type ChannelEvent struct {
	*Event
	// contains filtered or unexported fields
}

func (*ChannelEvent) ChannelEntity

func (e *ChannelEvent) ChannelEntity() *entities.ChannelEntity

type CommentEvent

type CommentEvent struct {
	*Event
	// contains filtered or unexported fields
}

func (*CommentEvent) CommentEntity

func (e *CommentEvent) CommentEntity() *entities.CommentEntity

type Event

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

func (*Event) Name

func (e *Event) Name() string

type FileEvent

type FileEvent struct {
	*Event
	// contains filtered or unexported fields
}

func (*FileEvent) FileEntity

func (e *FileEvent) FileEntity() *entities.FileEntity

type PollEvent

type PollEvent struct {
	*Event
	// contains filtered or unexported fields
}

func (*PollEvent) PollEntity

func (e *PollEvent) PollEntity() *entities.PollEntity

type PostAuthorEvent

type PostAuthorEvent struct {
	*Event
	// contains filtered or unexported fields
}

func (*PostAuthorEvent) PostAuthorEntity

func (e *PostAuthorEvent) PostAuthorEntity() *entities.UserEntity

func (*PostAuthorEvent) PostEntity

func (e *PostAuthorEvent) PostEntity() *entities.PostEntity

type PostCategoryEvent

type PostCategoryEvent struct {
	*Event
	// contains filtered or unexported fields
}

func (*PostCategoryEvent) CategoryEntity

func (e *PostCategoryEvent) CategoryEntity() *entities.CategoryEntity

CategoryEntity

func (*PostCategoryEvent) PostEntity

func (e *PostCategoryEvent) PostEntity() *entities.PostEntity

PostEntity

type PostEvent

type PostEvent struct {
	*Event
	// contains filtered or unexported fields
}

func (*PostEvent) PostEntity

func (e *PostEvent) PostEntity() *entities.PostEntity

type PostPictureEvent

type PostPictureEvent struct {
	*Event
	// contains filtered or unexported fields
}

func (*PostPictureEvent) PostEntity

func (e *PostPictureEvent) PostEntity() *entities.PostEntity

func (*PostPictureEvent) PostPictureEntity

func (e *PostPictureEvent) PostPictureEntity() *entities.FileEntity

type PostTagEvent

type PostTagEvent struct {
	*Event
	// contains filtered or unexported fields
}

func (*PostTagEvent) PostEntity

func (e *PostTagEvent) PostEntity() *entities.PostEntity

PostEntity

func (*PostTagEvent) TagEntity

func (e *PostTagEvent) TagEntity() *entities.TagEntity

TagEntity

type PostVideoEvent

type PostVideoEvent struct {
	*Event
	// contains filtered or unexported fields
}

func (*PostVideoEvent) PostEntity

func (e *PostVideoEvent) PostEntity() *entities.PostEntity

func (*PostVideoEvent) PostVideoEntity

func (e *PostVideoEvent) PostVideoEntity() *entities.FileEntity

type TagEvent

type TagEvent struct {
	*Event
	// contains filtered or unexported fields
}

func (*TagEvent) TagEntity

func (e *TagEvent) TagEntity() *entities.TagEntity

type UserEvent

type UserEvent struct {
	*Event
	// contains filtered or unexported fields
}

func (*UserEvent) UserEntity

func (e *UserEvent) UserEntity() *entities.UserEntity

type UserPictureEvent

type UserPictureEvent struct {
	*Event
	// contains filtered or unexported fields
}

func (*UserPictureEvent) UserEntity

func (e *UserPictureEvent) UserEntity() *entities.UserEntity

func (*UserPictureEvent) UserPictureEntity

func (e *UserPictureEvent) UserPictureEntity() *entities.FileEntity

Jump to

Keyboard shortcuts

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