server

package
v0.0.0-...-f676003 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2014 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func New

func New(c config.Config, conn sql.Connection) *App

func (*App) Companies

func (app *App) Companies(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*App) Detail

func (app *App) Detail(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*App) Execute

func (app *App) Execute(w http.ResponseWriter, name string, attrs ...templates.Attrs)

func (*App) Hello

func (app *App) Hello(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*App) Index

func (app *App) Index(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*App) Industries

func (app *App) Industries(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func (*App) ListenAndServe

func (app *App) ListenAndServe() error

Jump to

Keyboard shortcuts

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