package
Version:
v0.0.0-...-f4c7a8f
Opens a new window with list of versions in this module.
Published: Jul 12, 2014
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Enable easy and fast http prototype to go
Load the prototype form the given config file every time a request
hits the returned handler.
Usually the returned handler is registered under "/"
type Config struct {
Alias map[string]string
Data interface{}
}
The configuration of a given url
Hold the configuration of the prototype
Check if the prototype can handle the given request
Render the prototype to the http response
Source Files
¶
Click to show internal directories.
Click to hide internal directories.