Documentation ¶
Index ¶
Constants ¶
View Source
const (
//GlobbingURL the only url for router.
GlobbingURL = baseURL + "*globbing"
)
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(objs ...interface{})
Register registers the structs that implement the some exported methods. Each struct in vars must be pointer type every objs must have at least one api: Command(*gin.Context)(interface{}, error ) every api's handler's signature must like this: ApiHandler(*gin.Context)(interface{}, error )
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.