Documentation ¶
Index ¶
- func Redirect(to string) goa.MuxHandler
- func UIHandler() goa.MuxHandler
- type ExploreController
- type FeedController
- func (c *FeedController) Create(ctx *app.CreateFeedContext) error
- func (c *FeedController) Delete(ctx *app.DeleteFeedContext) error
- func (c *FeedController) Get(ctx *app.GetFeedContext) error
- func (c *FeedController) List(ctx *app.ListFeedContext) error
- func (c *FeedController) Start(ctx *app.StartFeedContext) error
- func (c *FeedController) Stop(ctx *app.StopFeedContext) error
- func (c *FeedController) Update(ctx *app.UpdateFeedContext) error
- type FilterController
- type HealthController
- type IndexController
- type OpmlController
- type OutputController
- func (c *OutputController) Create(ctx *app.CreateOutputContext) error
- func (c *OutputController) CreateFilter(ctx *app.CreateFilterOutputContext) error
- func (c *OutputController) Delete(ctx *app.DeleteOutputContext) error
- func (c *OutputController) DeleteFilter(ctx *app.DeleteFilterOutputContext) error
- func (c *OutputController) Get(ctx *app.GetOutputContext) error
- func (c *OutputController) List(ctx *app.ListOutputContext) error
- func (c *OutputController) Specs(ctx *app.SpecsOutputContext) error
- func (c *OutputController) Update(ctx *app.UpdateOutputContext) error
- func (c *OutputController) UpdateFilter(ctx *app.UpdateFilterOutputContext) error
- type PshbController
- type SwaggerController
- type VarsController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UIHandler ¶ added in v3.1.1
func UIHandler() goa.MuxHandler
UIHandler to fetch assets from the virtual file system
Types ¶
type ExploreController ¶
type ExploreController struct { *goa.Controller // contains filtered or unexported fields }
ExploreController implements the explore resource.
func NewExploreController ¶
func NewExploreController(service *goa.Service, explorer explore.Explorer) *ExploreController
NewExploreController creates a explore controller.
func (*ExploreController) Get ¶
func (c *ExploreController) Get(ctx *app.GetExploreContext) error
Get runs the get action.
type FeedController ¶
type FeedController struct { *goa.Controller // contains filtered or unexported fields }
FeedController implements the feed resource.
func NewFeedController ¶
func NewFeedController(service *goa.Service, db store.DB, am *aggregator.Manager) *FeedController
NewFeedController creates a feed controller.
func (*FeedController) Create ¶
func (c *FeedController) Create(ctx *app.CreateFeedContext) error
Create creates a new feed
func (*FeedController) Delete ¶
func (c *FeedController) Delete(ctx *app.DeleteFeedContext) error
Delete removes a feed
func (*FeedController) Get ¶
func (c *FeedController) Get(ctx *app.GetFeedContext) error
Get shows a feed
func (*FeedController) List ¶
func (c *FeedController) List(ctx *app.ListFeedContext) error
List shows all feeds
func (*FeedController) Start ¶
func (c *FeedController) Start(ctx *app.StartFeedContext) error
Start starts feed aggregation
func (*FeedController) Stop ¶
func (c *FeedController) Stop(ctx *app.StopFeedContext) error
Stop stops feed aggregation
func (*FeedController) Update ¶
func (c *FeedController) Update(ctx *app.UpdateFeedContext) error
Update updates a new feed
type FilterController ¶
type FilterController struct { *goa.Controller // contains filtered or unexported fields }
FilterController implements the filter resource.
func NewFilterController ¶
func NewFilterController(service *goa.Service, chain *filter.Chain) *FilterController
NewFilterController creates a filter controller.
func (*FilterController) Specs ¶
func (c *FilterController) Specs(ctx *app.SpecsFilterContext) error
Specs runs the specs action.
type HealthController ¶
type HealthController struct {
*goa.Controller
}
HealthController implements the health resource.
func NewHealthController ¶
func NewHealthController(service *goa.Service) *HealthController
NewHealthController creates a health controller.
func (*HealthController) Get ¶
func (c *HealthController) Get(ctx *app.GetHealthContext) error
Get returns the health check status.
type IndexController ¶
type IndexController struct { *goa.Controller // contains filtered or unexported fields }
IndexController implements the index resource.
func NewIndexController ¶
func NewIndexController(service *goa.Service, issuer, clientID string) *IndexController
NewIndexController creates a index controller.
func (*IndexController) Get ¶
func (c *IndexController) Get(ctx *app.GetIndexContext) error
Get runs the get action.
type OpmlController ¶
type OpmlController struct { *goa.Controller // contains filtered or unexported fields }
OpmlController implements the opml resource.
func NewOpmlController ¶
func NewOpmlController(service *goa.Service, db store.DB) *OpmlController
NewOpmlController creates a opml controller.
func (*OpmlController) Get ¶
func (c *OpmlController) Get(ctx *app.GetOpmlContext) error
Get feeds as OPML file.
func (*OpmlController) Status ¶
func (c *OpmlController) Status(ctx *app.StatusOpmlContext) error
Status runs the status action.
func (*OpmlController) Upload ¶
func (c *OpmlController) Upload(ctx *app.UploadOpmlContext) error
Upload OPML file to creates feeds.
type OutputController ¶
type OutputController struct { *goa.Controller // contains filtered or unexported fields }
OutputController implements the output resource.
func NewOutputController ¶
func NewOutputController(service *goa.Service, db store.DB, outputs *output.Manager) *OutputController
NewOutputController creates a output controller.
func (*OutputController) Create ¶
func (c *OutputController) Create(ctx *app.CreateOutputContext) error
Create runs the create action.
func (*OutputController) CreateFilter ¶
func (c *OutputController) CreateFilter(ctx *app.CreateFilterOutputContext) error
CreateFilter runs the createFilter action.
func (*OutputController) Delete ¶
func (c *OutputController) Delete(ctx *app.DeleteOutputContext) error
Delete runs the delete action.
func (*OutputController) DeleteFilter ¶
func (c *OutputController) DeleteFilter(ctx *app.DeleteFilterOutputContext) error
DeleteFilter runs the deleteFilter action.
func (*OutputController) Get ¶
func (c *OutputController) Get(ctx *app.GetOutputContext) error
Get runs the get action.
func (*OutputController) List ¶
func (c *OutputController) List(ctx *app.ListOutputContext) error
List runs the list action.
func (*OutputController) Specs ¶
func (c *OutputController) Specs(ctx *app.SpecsOutputContext) error
Specs runs the specs action.
func (*OutputController) Update ¶
func (c *OutputController) Update(ctx *app.UpdateOutputContext) error
Update runs the update action.
func (*OutputController) UpdateFilter ¶
func (c *OutputController) UpdateFilter(ctx *app.UpdateFilterOutputContext) error
UpdateFilter runs the updateFilter action.
type PshbController ¶
type PshbController struct { *goa.Controller // contains filtered or unexported fields }
PshbController implements the pshb resource.
func NewPshbController ¶
func NewPshbController(service *goa.Service, db store.DB, am *aggregator.Manager, outputs *output.Manager) *PshbController
NewPshbController creates a pshb controller.
func (*PshbController) Pub ¶
func (c *PshbController) Pub(ctx *app.PubPshbContext) error
Pub is the Hub callback to send topic updates.
func (*PshbController) Sub ¶
func (c *PshbController) Sub(ctx *app.SubPshbContext) error
Sub is the Hub callback to validate the (un)subscription.
type SwaggerController ¶
type SwaggerController struct {
*goa.Controller
}
SwaggerController implements the swagger resource.
func NewSwaggerController ¶
func NewSwaggerController(service *goa.Service) *SwaggerController
NewSwaggerController creates a swagger controller.
func (*SwaggerController) Get ¶
func (c *SwaggerController) Get(ctx *app.GetSwaggerContext) error
Get runs the get action.
type VarsController ¶
type VarsController struct {
*goa.Controller
}
VarsController implements the vars resource.
func NewVarsController ¶
func NewVarsController(service *goa.Service) *VarsController
NewVarsController creates a vars controller.
func (*VarsController) Get ¶
func (c *VarsController) Get(ctx *app.GetVarsContext) error
Get returns all exp vars.