# Functions
No description provided by the author
GetFeed returns the feed at feedPath, which is an absolute or relative (to ybFeed binary) path to the directory where feed items are stored.
GetItemType returns FeedItemType for filenamebase on file extension.
NewFeed creates a new feed at feedPath.
NewFeedManager returns a FeedManager initialized with the mandatory path and websocket manager w.
NewWebSocketManager creates a new WebSocketManager.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Errors related to feed actions.
Errors related to feed actions.
Errors related to feed actions.
Errors related to feed actions.
Errors related to feed actions.
Errors related to feed actions.
Errors related to feed actions.
Errors related to feed actions.
Errors related to feed actions.
Errors related to feed actions.
Errors related to feed actions.
Errors related to feed actions.
Errors related to feed actions.
# Structs
Feed is the internal representation of a Feed and contains all the informations needed to perform its tasks.
No description provided by the author
FeedManager is the main interface tu feeds and contains the path to ybFeed data folder.
FeedNotification is used to marshall notification information message to the push service.
FeedSockets maintains a list of active websockets for a specific feed designated by feedName.
No description provided by the author
NotificationSettings contains the necessary key pair to send web push notifications.
No description provided by the author
PublicFeed is a version of a feed meant to provide a json representation of a feed that does not expose private informations In this context, the feed secret is not a private information as it needs to be transmitted as a cookie to the browser.
PublicFeedItem is used to provide a json representation of a feed item.
WebSocketManager bridges a FeedManager with a FeedSockets struct.
# Type aliases
FeedItemType defines the type of an item in the feed.