framework

package
v0.0.0-...-c722118 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Banner() string

Types

type Application

type Application struct {
	Router *Router
	Store  *memstore.Store
}

func NewApp

func NewApp() *Application

func (*Application) Run

func (a *Application) Run()

type ContextData

type ContextData struct {
	Writer      http.ResponseWriter
	Request     *http.Request
	Route       router.Route
	Application *Application
}

type Router

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

func (*Router) Exec

func (r *Router) Exec(app *Application)

func (*Router) Register

func (r *Router) Register(route *router.Route)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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