controller

package
v0.0.0-...-0a97e14 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoryController

type CategoryController struct{}

func (*CategoryController) Create

func (ctrl *CategoryController) Create(name string) error

func (*CategoryController) List

func (ctrl *CategoryController) List() []*entity.Category

type PostController

type PostController struct{}

func (*PostController) AddNewFeeder

func (ctrl *PostController) AddNewFeeder(f feed.Feeder, source int64)

type SourceController

type SourceController struct{}

func (*SourceController) Add

func (ctrl *SourceController) Add(url string, categoryID int64) (*entity.Source, error)

func (*SourceController) Unsubscribe

func (ctrl *SourceController) Unsubscribe(id int64) error

func (*SourceController) UpdateAll

func (ctrl *SourceController) UpdateAll()

Jump to

Keyboard shortcuts

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