Documentation ¶
Index ¶
- func CreateUser(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func GetAllUsers(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func GetSeries(db *sqlx.DB) httprouter.Handle
- func GetSeriesDetail(db *sqlx.DB) httprouter.Handle
- func Login(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- type JSONSeries
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUser ¶
func CreateUser(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func GetAllUsers ¶
func GetAllUsers(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func GetSeries ¶
func GetSeries(db *sqlx.DB) httprouter.Handle
be sure to properly pass the database connection to the function. Not 100% sure whether or not this is the right way to do things
func GetSeriesDetail ¶
func GetSeriesDetail(db *sqlx.DB) httprouter.Handle
func Login ¶
func Login(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
Types ¶
Click to show internal directories.
Click to hide internal directories.