Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FiberRouter ¶
type FiberRouter struct {
// contains filtered or unexported fields
}
func NewFiberRouter ¶
func NewFiberRouter(app *fiber.App) *FiberRouter
func (*FiberRouter) Group ¶
func (r *FiberRouter) Group(prefix string) RouterGroup
func (*FiberRouter) Run ¶
func (r *FiberRouter) Run(address string) error
type FiberRouterGroup ¶
type FiberRouterGroup struct {
// contains filtered or unexported fields
}
func (*FiberRouterGroup) GET ¶
func (g *FiberRouterGroup) GET(path string, handler func(http.ResponseWriter, *http.Request))
func (*FiberRouterGroup) POST ¶
func (g *FiberRouterGroup) POST(path string, handler func(http.ResponseWriter, *http.Request))
type GinRouter ¶
type GinRouter struct {
// contains filtered or unexported fields
}
func NewGinRouter ¶
func (*GinRouter) Group ¶
func (r *GinRouter) Group(prefix string) RouterGroup
type GinRouterGroup ¶
type GinRouterGroup struct {
// contains filtered or unexported fields
}
func (*GinRouterGroup) GET ¶
func (g *GinRouterGroup) GET(path string, handler func(http.ResponseWriter, *http.Request))
func (*GinRouterGroup) POST ¶
func (g *GinRouterGroup) POST(path string, handler func(http.ResponseWriter, *http.Request))
type RouterGroup ¶
type RouterGroup interface { GET(path string, handler func(http.ResponseWriter, *http.Request)) POST(path string, handler func(http.ResponseWriter, *http.Request)) }
Click to show internal directories.
Click to hide internal directories.