Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadRouter ¶
func LoadRouter(r IRouter)
Types ¶
type IRouter ¶
type IRouter interface { POST(path string, fn ...engine.HandlerFunc) GET(path string, fn ...engine.HandlerFunc) PUT(path string, fn ...engine.HandlerFunc) DELETE(path string, fn ...engine.HandlerFunc) Use(pos engine.HookPosition, matcher engine.IMatcher, fn engine.HandlerFunc) }
Click to show internal directories.
Click to hide internal directories.