Versions in this module Expand all Collapse all v0 v0.1.0 Oct 4, 2016 Changes in this version + func Fatal(err error) error + type Action int + const Create + const Delete + const Find + const List + const Update + func (a Action) Read() bool + func (a Action) Write() bool + type Callback func(*Context) error + func Combine(callbacks ...Callback) Callback + func DependentResourcesValidator(resources fire.Map) Callback + func MatchingReferencesValidator(collection, reference string, matcher fire.Map) Callback + func ModelValidator() Callback + func ProtectedAttributesValidator(attributes fire.Map) Callback + func VerifyReferencesValidator(references fire.Map) Callback + type Context struct + Action Action + Echo echo.Context + Model model.Model + Query bson.M + Request *jsonapi.Request + Sorting []string + Store *model.Store + func (c *Context) Original() (model.Model, error) + type Controller struct + Authorizer Callback + FilterableFields []string + ListLimit int + Model model.Model + NoList bool + SortableFields []string + Store *model.Store + Validator Callback + type Group struct + func NewGroup(prefix string) *Group + func (g *Group) Add(controllers ...*Controller) + func (g *Group) Describe() fire.ComponentInfo + func (g *Group) Register(router *echo.Echo)