Documentation ¶
Index ¶
- type Engine
- func (engine *Engine) GetHandle(mapHandle map[int]http.HandlerFunc) http.HandlerFunc
- func (engine *Engine) HandleFunc(method, pattern string, handler func(http.ResponseWriter, *http.Request))
- func (engine *Engine) PathMatch(path, pattern string) int
- func (engine *Engine) Run(address string) (err error)
- func (engine *Engine) ServeHTTP(w http.ResponseWriter, r *http.Request)
- type Route
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func (*Engine) GetHandle ¶
func (engine *Engine) GetHandle(mapHandle map[int]http.HandlerFunc) http.HandlerFunc
func (*Engine) HandleFunc ¶
Click to show internal directories.
Click to hide internal directories.