Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRouter ¶
CreateRouter creates a mux router and attaches routes
Types ¶
type IHandler ¶
type IHandler interface { CreateUser(w http.ResponseWriter, r *http.Request) GetUserByUUID(w http.ResponseWriter, r *http.Request) UpdateUser(w http.ResponseWriter, r *http.Request) DeleteUser(w http.ResponseWriter, r *http.Request) }
IHandler lists the methods the handler package implements
func NewHandler ¶
NewHandler returns new instance of handler with all methods attached
Click to show internal directories.
Click to hide internal directories.