Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddLinkRequest ¶
type Event ¶
type Event struct { EventType EventTypeEnum Username string Url string Timestamp time.Time }
type EventTypeEnum ¶
type EventTypeEnum int
const ( LinkAdded EventTypeEnum = iota LinkUpdated LinkDeleted )
type GetLinksRequest ¶
type GetLinksResult ¶
type GetNewsRequest ¶
type GetNewsResult ¶
type LinkManager ¶
type LinkManager interface { GetLinks(request GetLinksRequest) (GetLinksResult, error) AddLink(request AddLinkRequest) error UpdateLink(request UpdateLinkRequest) error DeleteLink(username string, url string) error }
type LinkManagerEvents ¶
type NewsManager ¶
type NewsManager interface {
GetNews(request GetNewsRequest) (GetNewsResult, error)
}
type SocialGraphManager ¶
type UpdateLinkRequest ¶
Click to show internal directories.
Click to hide internal directories.