Documentation ¶
Overview ¶
Package storage provides a persistent storage for feed data.
Index ¶
- func CreateChannel(channelID, feedID int64, name string)
- func CreateFeed(channelID int64, name string)
- func DeleteChannel(id int64) bool
- func DeleteFeed(id int64) bool
- func Load(path string) (err error)
- func PeersStorage() peers.Storage
- func Save() (err error)
- func UpdateChannelLastMessageID(id int64, lastMessageID int) bool
- type Channel
- type Feed
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateChannel ¶
func CreateFeed ¶
func DeleteChannel ¶
func DeleteFeed ¶
func PeersStorage ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.