controllers

package
v0.0.0-...-7259a0a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2020 License: AGPL-3.0 Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL