Documentation ¶
Index ¶
- func NewSchemaController(service goa.Service, store *store.Store) app.SchemaController
- func NewValueController(service goa.Service, store *store.Store) app.ValueController
- func Run(addr string, store *store.Store)
- type SchemaController
- func (c *SchemaController) Create(ctx *app.CreateSchemaContext) error
- func (c *SchemaController) Delete(ctx *app.DeleteSchemaContext) error
- func (c *SchemaController) Get(ctx *app.GetSchemaContext) error
- func (c *SchemaController) List(ctx *app.ListSchemaContext) error
- func (c *SchemaController) SetDefaults(ctx *app.SetDefaultsSchemaContext) error
- func (c *SchemaController) Update(ctx *app.UpdateSchemaContext) error
- type ValueController
- func (c *ValueController) Delete(ctx *app.DeleteValueContext) error
- func (c *ValueController) List(ctx *app.ListValueContext) error
- func (c *ValueController) Show(ctx *app.ShowValueContext) error
- func (c *ValueController) Write(ctx *app.WriteValueContext) error
- func (c *ValueController) WriteAll(ctx *app.WriteAllValueContext) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSchemaController ¶
NewSchemaController creates a schema controller.
func NewValueController ¶
NewValueController creates a value controller.
Types ¶
type SchemaController ¶
type SchemaController struct { goa.Controller // contains filtered or unexported fields }
SchemaController implements the schema resource.
func (*SchemaController) Create ¶
func (c *SchemaController) Create(ctx *app.CreateSchemaContext) error
Create runs the create action.
func (*SchemaController) Delete ¶
func (c *SchemaController) Delete(ctx *app.DeleteSchemaContext) error
Delete runs the delete action.
func (*SchemaController) Get ¶
func (c *SchemaController) Get(ctx *app.GetSchemaContext) error
Get runs the get action.
func (*SchemaController) List ¶
func (c *SchemaController) List(ctx *app.ListSchemaContext) error
List runs the list action.
func (*SchemaController) SetDefaults ¶
func (c *SchemaController) SetDefaults(ctx *app.SetDefaultsSchemaContext) error
SetDefaults runs the setDefaults action.
func (*SchemaController) Update ¶
func (c *SchemaController) Update(ctx *app.UpdateSchemaContext) error
Update runs the update action.
type ValueController ¶
type ValueController struct { goa.Controller // contains filtered or unexported fields }
ValueController implements the value resource.
func (*ValueController) Delete ¶
func (c *ValueController) Delete(ctx *app.DeleteValueContext) error
Delete runs the delete action.
func (*ValueController) List ¶
func (c *ValueController) List(ctx *app.ListValueContext) error
List runs the list action.
func (*ValueController) Show ¶
func (c *ValueController) Show(ctx *app.ShowValueContext) error
Show runs the show action.
func (*ValueController) Write ¶
func (c *ValueController) Write(ctx *app.WriteValueContext) error
Write runs the write action.
func (*ValueController) WriteAll ¶
func (c *ValueController) WriteAll(ctx *app.WriteAllValueContext) error
WriteAll runs the writeAll action.
Click to show internal directories.
Click to hide internal directories.