Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Database *sql.DB
Database is a passed on database instance
Functions ¶
func CreateScene ¶
func CreateScene(w http.ResponseWriter, r *http.Request)
CreateScene add a new Scene to the database
func DeleteScene ¶
func DeleteScene(w http.ResponseWriter, r *http.Request)
DeleteScene removes the scene from the database
func ExecScene ¶
func ExecScene(w http.ResponseWriter, r *http.Request)
ExecScene runs the scene asynchronously
func ListScenes ¶
func ListScenes(w http.ResponseWriter, r *http.Request)
ListScenes returns all stored scenes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.