Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
LyceumController
}
App controller for general application resources.
type ArtifactAPI ¶
type ArtifactAPI struct {
LyceumController
}
ArtifactAPI is the controller for the artifact API resource.
func (ArtifactAPI) List ¶
func (c ArtifactAPI) List() revel.Result
List will retrieve all artifact resources.
type Item ¶
type Item struct {
LyceumController
}
Item controller for item resources.
type ItemAPI ¶
type ItemAPI struct {
LyceumController
}
ItemAPI is the controller for the item API resource.
type Library ¶
type Library struct {
LyceumController
}
Library controller for library resources.
type LibraryAPI ¶
type LibraryAPI struct {
LyceumController
}
LibraryAPI is the controller for the library API resource.
func (LibraryAPI) Create ¶
func (c LibraryAPI) Create() revel.Result
Create will add a new library resource.
func (LibraryAPI) Delete ¶
func (c LibraryAPI) Delete(id string) revel.Result
Delete will remove the library resource with the given id.
func (LibraryAPI) Get ¶
func (c LibraryAPI) Get(id string) revel.Result
Get will retrieve the library resource with the given id.
func (LibraryAPI) List ¶
func (c LibraryAPI) List() revel.Result
List will retrieve all library resources.
type LyceumController ¶
type LyceumController struct {
*revel.Controller
}
LyceumController adds application specific properties.
func (LyceumController) RenderJSONError ¶
func (c LyceumController) RenderJSONError(err error) revel.Result
RenderJSONError will render a generic error message in JSON format.