Documentation ¶
Index ¶
- func HostMeta(rootURL string) *xrd.Resource
- func NewSubscriptionDB(p *pubsubhubbub.Publisher, db *bolt.DB) error
- type Backend
- func (be *Backend) Feed(topicURL string) (*activitystream.Feed, error)
- func (be *Backend) Notify(entry *activitystream.Entry) error
- func (be *Backend) Resource(uri string, rel []string) (*xrd.Resource, error)
- func (be *Backend) Subscribe(topicURL string, notifies chan<- pubsubhubbub.Event) error
- func (be *Backend) Unsubscribe(notifies chan<- pubsubhubbub.Event) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSubscriptionDB ¶
func NewSubscriptionDB(p *pubsubhubbub.Publisher, db *bolt.DB) error
Types ¶
type Backend ¶
type Backend struct { salmon.PublicKeyBackend // contains filtered or unexported fields }
func NewBackend ¶
func (*Backend) Subscribe ¶
func (be *Backend) Subscribe(topicURL string, notifies chan<- pubsubhubbub.Event) error
func (*Backend) Unsubscribe ¶
func (be *Backend) Unsubscribe(notifies chan<- pubsubhubbub.Event) error
Click to show internal directories.
Click to hide internal directories.