Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseHandler ¶
type BaseHandler struct {
// contains filtered or unexported fields
}
Our BaseHandler will hold everything the controller needs access to
func NewBaseHandler ¶
func NewBaseHandler(userRepo model.UserRepository) *BaseHandler
Return a new BaseHandler
func (*BaseHandler) GetUserByName ¶
func (h *BaseHandler) GetUserByName(w http.ResponseWriter, r *http.Request)
HTTP Handlers
Click to show internal directories.
Click to hide internal directories.