Documentation ¶
Index ¶
Constants ¶
View Source
const NO_ROUTE_FOUND = "NO_ROUTE_FOUND"
Variables ¶
This section is empty.
Functions ¶
func GetHashPath ¶
func GetQueryParams ¶
Types ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func (*Router) On ¶
func (r *Router) On(path string, v ViewController)
type TemplateBody ¶
type TemplateBody struct {
// contains filtered or unexported fields
}
func (TemplateBody) Render ¶
func (t TemplateBody) Render(data interface{}) string
type ViewController ¶
type ViewController interface { Handle(templateBody TemplateBody, params map[string]string) GetTemplatePath() string }
Click to show internal directories.
Click to hide internal directories.