Documentation ¶
Overview ¶
provides the types and api methods required to serve lesson data throughout the application
Index ¶
- func Create(w http.ResponseWriter, r *http.Request) (interface{}, error)
- func Delete(w http.ResponseWriter, r *http.Request) (interface{}, error)
- func List(w http.ResponseWriter, r *http.Request) (interface{}, error)
- func Retrieve(w http.ResponseWriter, r *http.Request) (interface{}, error)
- type DatastoreLesson
- type Lesson
- type LessonIndex
- type LessonListing
- type Lessons
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(w http.ResponseWriter, r *http.Request) (interface{}, error)
returns an error. There are no current plans to impliment this function.
func Delete ¶
func Delete(w http.ResponseWriter, r *http.Request) (interface{}, error)
returns an error. There are no current plans to impliment this function.
Types ¶
type DatastoreLesson ¶
the data type stored by Google Datastore
type Lesson ¶
type Lesson struct { Id int64 `json:"id"` Name string `json:"name"` Deck slide.Slides `json:"slides"` }
a fully specified lesson including the slide deck
type LessonIndex ¶
type LessonIndex []LessonListing
type LessonListing ¶
a simple listing of lessons consisting only of an Id and Name
Click to show internal directories.
Click to hide internal directories.