events

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountUpdated added in v0.4.0

type AccountUpdated struct {
	Op *database.AccountUpdateOperation
}

type AccountUpdatedEventMiner added in v0.4.0

type AccountUpdatedEventMiner struct{}

func NewAccountUpdatedEventMiner added in v0.4.0

func NewAccountUpdatedEventMiner() *AccountUpdatedEventMiner

func (*AccountUpdatedEventMiner) MineEvent added in v0.4.0

func (miner *AccountUpdatedEventMiner) MineEvent(
	operation *database.Operation,
	content *database.Content,
) ([]interface{}, error)

type AccountWitnessVoted added in v0.8.0

type AccountWitnessVoted struct {
	Op *database.AccountWitnessVoteOperation
}

type AccountWitnessVotedEventMiner added in v0.8.0

type AccountWitnessVotedEventMiner struct{}

func NewAccountWitnessVotedEventMiner added in v0.8.0

func NewAccountWitnessVotedEventMiner() *AccountWitnessVotedEventMiner

func (*AccountWitnessVotedEventMiner) MineEvent added in v0.8.0

func (miner *AccountWitnessVotedEventMiner) MineEvent(
	operation *database.Operation,
	content *database.Content,
) ([]interface{}, error)

type CommentPublished

type CommentPublished struct {
	Op      *database.CommentOperation
	Content *database.Content
}

type CommentPublishedEventMiner

type CommentPublishedEventMiner struct{}

func NewCommentPublishedEventMiner

func NewCommentPublishedEventMiner() *CommentPublishedEventMiner

func (*CommentPublishedEventMiner) MineEvent

func (miner *CommentPublishedEventMiner) MineEvent(
	operation *database.Operation,
	content *database.Content,
) ([]interface{}, error)

type CommentVoted

type CommentVoted struct {
	Op      *database.VoteOperation
	Content *database.Content
}

type CommentVotedEventMiner

type CommentVotedEventMiner struct{}

func NewCommentVotedEventMiner

func NewCommentVotedEventMiner() *CommentVotedEventMiner

func (*CommentVotedEventMiner) MineEvent

func (miner *CommentVotedEventMiner) MineEvent(
	operation *database.Operation,
	content *database.Content,
) ([]interface{}, error)

type StoryPublished

type StoryPublished struct {
	Op      *database.CommentOperation
	Content *database.Content
}

type StoryPublishedEventMiner

type StoryPublishedEventMiner struct{}

func NewStoryPublishedEventMiner

func NewStoryPublishedEventMiner() *StoryPublishedEventMiner

func (*StoryPublishedEventMiner) MineEvent

func (miner *StoryPublishedEventMiner) MineEvent(
	operation *database.Operation,
	content *database.Content,
) ([]interface{}, error)

type StoryVoted

type StoryVoted struct {
	Op      *database.VoteOperation
	Content *database.Content
}

type StoryVotedEventMiner

type StoryVotedEventMiner struct{}

func NewStoryVotedEventMiner

func NewStoryVotedEventMiner() *StoryVotedEventMiner

func (*StoryVotedEventMiner) MineEvent

func (miner *StoryVotedEventMiner) MineEvent(
	operation *database.Operation,
	content *database.Content,
) ([]interface{}, error)

type TransferMade added in v0.3.0

type TransferMade struct {
	Op *database.TransferOperation
}

type TransferMadeEventMiner added in v0.3.0

type TransferMadeEventMiner struct{}

func NewTransferMadeEventMiner added in v0.3.0

func NewTransferMadeEventMiner() *TransferMadeEventMiner

func (*TransferMadeEventMiner) MineEvent added in v0.3.0

func (miner *TransferMadeEventMiner) MineEvent(
	operation *database.Operation,
	content *database.Content,
) ([]interface{}, error)

type UserFollowStatusChanged added in v0.7.0

type UserFollowStatusChanged struct {
	Op *database.FollowOperation
}

func (*UserFollowStatusChanged) Followed added in v0.7.0

func (event *UserFollowStatusChanged) Followed() bool

func (*UserFollowStatusChanged) Muted added in v0.7.0

func (event *UserFollowStatusChanged) Muted() bool

func (*UserFollowStatusChanged) Reset added in v0.7.0

func (event *UserFollowStatusChanged) Reset() bool

type UserFollowStatusChangedEventMiner added in v0.7.0

type UserFollowStatusChangedEventMiner struct{}

func NewUserFollowStatusChangedEventMiner added in v0.7.0

func NewUserFollowStatusChangedEventMiner() *UserFollowStatusChangedEventMiner

func (*UserFollowStatusChangedEventMiner) MineEvent added in v0.7.0

func (miner *UserFollowStatusChangedEventMiner) MineEvent(
	operation *database.Operation,
	content *database.Content,
) ([]interface{}, error)

type UserMentioned added in v0.2.0

type UserMentioned struct {
	Op      *database.CommentOperation
	Content *database.Content
	User    string
}

type UserMentionedEventMiner added in v0.2.0

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

func NewUserMentionedEventMiner added in v0.2.0

func NewUserMentionedEventMiner() *UserMentionedEventMiner

func (*UserMentionedEventMiner) MineEvent added in v0.2.0

func (miner *UserMentionedEventMiner) MineEvent(
	operation *database.Operation,
	content *database.Content,
) ([]interface{}, error)

Jump to

Keyboard shortcuts

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