services

package
v0.0.0-...-858f5d4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2017 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeedService

type FeedService struct {
	// contains filtered or unexported fields
}

func NewFeedService

func NewFeedService(db *data.FunnelDB) *FeedService

func (*FeedService) Create

func (s *FeedService) Create(rawurl string) (*data.Feed, error)

func (*FeedService) Exists

func (s *FeedService) Exists(feed *data.Feed) (bool, error)

func (*FeedService) Fetch

func (s *FeedService) Fetch(feed *data.Feed) (*rss.Feed, error)

func (*FeedService) GetFeeds

func (s *FeedService) GetFeeds() ([]data.Feed, error)

func (*FeedService) SubscribeUser

func (s *FeedService) SubscribeUser(user *data.User, feed *data.Feed) (*data.Subscription, error)

type ItemService

type ItemService struct {
	// contains filtered or unexported fields
}

func NewItemService

func NewItemService(db *data.FunnelDB) *ItemService

func (*ItemService) Create

func (s *ItemService) Create(item *data.Item) (bool, error)

func (*ItemService) Delete

func (s *ItemService) Delete(item *data.Item) error

func (*ItemService) Deliver

func (s *ItemService) Deliver(item *data.Item) error

func (*ItemService) Exists

func (s *ItemService) Exists(item *data.Item) (bool, error)

func (*ItemService) GetAllForUser

func (s *ItemService) GetAllForUser(user *data.User) ([]data.Item, error)

type UserService

type UserService struct {
	// contains filtered or unexported fields
}

func NewUserService

func NewUserService(db *data.FunnelDB) *UserService

func (*UserService) Exists

func (s *UserService) Exists(user *data.User) (bool, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL