Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDefaultUrlParam ¶
func SetDefaultUrlParam(urlParam string)
Types ¶
type DefaultRouter ¶
type DefaultRouter struct {
Router
}
func NewDefaultRouter ¶
func NewDefaultRouter(engine *gin.Engine, middlewares ...gin.HandlerFunc) *DefaultRouter
func (*DefaultRouter) Register ¶
func (d *DefaultRouter) Register(path string, view interface{}, middleware ...gin.HandlerFunc)
type Router ¶
type Router struct { Group *gin.RouterGroup // contains filtered or unexported fields }
func (*Router) Register ¶
func (r *Router) Register(path string, view interface{}, middleware ...gin.HandlerFunc)
func (*Router) SetRelativePath ¶
func (*Router) SetTrailingSlash ¶
Click to show internal directories.
Click to hide internal directories.