Back to

Package controllers

Latest Go to latest

The latest major version is .

Published: Aug 15, 2020 | License: AGPL-3.0 | Module:


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

Package Files

  • user_controller.go
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier