Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewThingCreateHandler ¶
func NewThingCreateHandler(db *sqlx.DB) gin.HandlerFunc
NewThingCreateHandler will return a handler for Thing creates.
The handler assumes that a Thing will be PUT using JSON.
Types ¶
type SQLThingCreator ¶
type SQLThingCreator struct {
// contains filtered or unexported fields
}
SQLThingCreator implements a SQL creator
type ThingCreator ¶
ThingCreator defines the interface for this creator
func NewSQLThingCreator ¶
func NewSQLThingCreator(db *sqlx.DB) ThingCreator
NewSQLThingCreator returns a SQL based ThingCreator
Click to show internal directories.
Click to hide internal directories.