Documentation ¶
Index ¶
- func AddFollow(follow *db.MemoFollow) error
- func AddLike(like *db.MemoLike) error
- func AddPollVote(pollVote *db.MemoPollVote) error
- func AddPost(post *db.MemoPost) error
- func AddSetName(setName *db.MemoSetName) error
- func AddSetProfile(setProfile *db.MemoSetProfile) error
- func AddSetProfilePic(setName *db.MemoSetPic) error
- func AddTopicFollow(topicFollow *db.MemoTopicFollow) error
- func AttachReputationToEvents(events []*Event) error
- type Event
- func (e *Event) GetAddressString() string
- func (e *Event) GetFollowAddressString() string
- func (e *Event) GetFollowName() string
- func (e *Event) GetProfilePicMessage() string
- func (e *Event) GetProfileText() string
- func (e *Event) GetSetName() string
- func (e *Event) GetTopicUrl() string
- func (e *Event) GetType() string
- func (e *Event) IsCreatePoll() bool
- func (e *Event) IsFollowTopic() bool
- func (e *Event) IsFollowUser() bool
- func (e *Event) IsLike() bool
- func (e *Event) IsPollVote() bool
- func (e *Event) IsPost() bool
- func (e *Event) IsReply() bool
- func (e *Event) IsSetName() bool
- func (e *Event) IsSetProfile() bool
- func (e *Event) IsSetProfilePic() bool
- func (e *Event) IsTopicPost() bool
- func (e *Event) TimeAgo() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFollow ¶
func AddFollow(follow *db.MemoFollow) error
func AddPollVote ¶
func AddPollVote(pollVote *db.MemoPollVote) error
func AddSetName ¶
func AddSetName(setName *db.MemoSetName) error
func AddSetProfile ¶
func AddSetProfile(setProfile *db.MemoSetProfile) error
func AddSetProfilePic ¶
func AddSetProfilePic(setName *db.MemoSetPic) error
func AddTopicFollow ¶
func AddTopicFollow(topicFollow *db.MemoTopicFollow) error
Types ¶
type Event ¶
type Event struct { FeedEvent *db.FeedEvent Name string SelfPkHash []byte ProfilePic *db.MemoSetPic Post *profile.Post MemoLike *db.MemoLike PollOption *db.MemoPollOption PollVote *db.MemoPollVote SetName *db.MemoSetName SetProfile *db.MemoSetProfile SetProfilePic *db.MemoSetPic UserFollow *db.MemoFollow FollowName string FollowProfilePic *db.MemoSetPic TopicFollow *db.MemoTopicFollow Reputation *rep.Reputation FollowReputation *rep.Reputation ShowMedia bool }
func GetEventsForUser ¶
func GetUserEvents ¶
func (*Event) GetAddressString ¶
func (*Event) GetFollowAddressString ¶
func (*Event) GetFollowName ¶
func (*Event) GetProfilePicMessage ¶
func (*Event) GetProfileText ¶
func (*Event) GetSetName ¶
func (*Event) GetTopicUrl ¶
func (*Event) IsCreatePoll ¶
func (*Event) IsFollowTopic ¶
func (*Event) IsFollowUser ¶
func (*Event) IsPollVote ¶
func (*Event) IsSetProfile ¶
func (*Event) IsSetProfilePic ¶
func (*Event) IsTopicPost ¶
Click to show internal directories.
Click to hide internal directories.