Documentation ¶
Index ¶
- func CreateRecord(cb func(models.RecordBlueprint) error, w http.ResponseWriter, r *http.Request)
- func DeleteRecord(cb func(models.RecordBlueprint) error, w http.ResponseWriter, r *http.Request, ...)
- func GetRecords(db *sql.DB, w http.ResponseWriter, r *http.Request)
- func LaunchRouter(db *sql.DB, engine *routing.RoutingEngine)
- func UpdateRecord(cb func(models.RecordBlueprint) error, db *sql.DB, w http.ResponseWriter, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRecord ¶
func CreateRecord(cb func(models.RecordBlueprint) error, w http.ResponseWriter, r *http.Request)
func DeleteRecord ¶
func DeleteRecord(cb func(models.RecordBlueprint) error, w http.ResponseWriter, r *http.Request, id string)
func GetRecords ¶
func LaunchRouter ¶
func LaunchRouter(db *sql.DB, engine *routing.RoutingEngine)
func UpdateRecord ¶
func UpdateRecord(cb func(models.RecordBlueprint) error, db *sql.DB, w http.ResponseWriter, r *http.Request, id string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.