handler

package
v0.0.0-...-2387267 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2022 License: MIT Imports: 11 Imported by: 0

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

func ReadScene

func ReadScene(w http.ResponseWriter, r *http.Request)

ReadScene return the requested scene

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL