Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUser ¶
func CreateUser(s storage.Storage) http.HandlerFunc
Handler for HTTP Post - "/users" Create a new Showtime document
func DeleteUser ¶
func DeleteUser(s storage.Storage) http.HandlerFunc
Handler for HTTP Delete - "/users/{id}" Delete a User document by id
func GetLiveness ¶
func GetLiveness() http.HandlerFunc
func GetReadiness ¶
func GetReadiness(s storage.Storage) http.HandlerFunc
Types ¶
type UserResource ¶
For Post/Put - /users
Click to show internal directories.
Click to hide internal directories.