Documentation ¶
Index ¶
Constants ¶
View Source
const ( FeedUpdateEvent = "feed-update" FeedDeleteEvent = "feed-delete" FeedSetTagsEvent = "feed-set-tags" )
View Source
const (
ArticleStateEvent = "article-state-change"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArticleStateData ¶
type ArticleStateData struct { User content.Login `json:"user"` State string `json:"state"` Value bool `json:"value"` Options map[string]interface{} `json:"options"` }
func (ArticleStateData) UserLogin ¶
func (e ArticleStateData) UserLogin() content.Login
type FeedDeleteData ¶
func (FeedDeleteData) FeedID ¶
func (f FeedDeleteData) FeedID() content.FeedID
func (FeedDeleteData) MarshalJSON ¶
func (f FeedDeleteData) MarshalJSON() ([]byte, error)
type FeedSetTagsData ¶
func (FeedSetTagsData) FeedID ¶
func (f FeedSetTagsData) FeedID() content.FeedID
func (FeedSetTagsData) MarshalJSON ¶
func (f FeedSetTagsData) MarshalJSON() ([]byte, error)
type FeedUpdateData ¶
func (FeedUpdateData) FeedID ¶
func (f FeedUpdateData) FeedID() content.FeedID
func (FeedUpdateData) MarshalJSON ¶
func (f FeedUpdateData) MarshalJSON() ([]byte, error)
type Service ¶
func (Service) ArticleRepo ¶
Click to show internal directories.
Click to hide internal directories.