controllers

package
v0.0.0-...-01827ce Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
}

Controller struct

type UrlsController

type UrlsController struct {
	Controller
}

Urls controller struct

func (*UrlsController) Index

func (urlsController *UrlsController) Index(writer netHttp.ResponseWriter, request *netHttp.Request)

Index method

func (*UrlsController) RedirectToLongUrl

func (urlsController *UrlsController) RedirectToLongUrl(writer netHttp.ResponseWriter, request *netHttp.Request)

Redirect to long url method

Jump to

Keyboard shortcuts

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