controllers

package
v0.0.0-...-0cba9f6 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HomeController

type HomeController struct {
	// contains filtered or unexported fields
}

func NewHomeController

func NewHomeController() *HomeController

func (*HomeController) BadRequest

func (c *HomeController) BadRequest(w http.ResponseWriter, msg interface{})

func (*HomeController) NotFound

func (*HomeController) NotFound(w http.ResponseWriter, r *http.Request)

func (*HomeController) OK

func (c *HomeController) OK(w http.ResponseWriter, model interface{})

func (*HomeController) ServeHTTP

func (c *HomeController) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (*HomeController) StatusCode

func (c *HomeController) StatusCode(w http.ResponseWriter, code int, msg interface{})

func (*HomeController) View

func (*HomeController) View(content string, w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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