Documentation
¶
Overview ¶
Package beego is the router for github.com/beego/beego/v2. The handlers stay http.HandlerFuncs, served from beego's context with the path parameters on the request.
Index ¶
- type Framework
- func (Framework) Conflicts(routes []framework.Route) ([]framework.Route, []framework.Conflict)
- func (Framework) Handler(s *gocode.Scope) framework.Handler
- func (Framework) Imports() []gomodel.Import
- func (Framework) Name() string
- func (Framework) PathParam(_ *gocode.Scope, name string) string
- func (Framework) RoutePattern(method, path string) (string, error)
- func (Framework) Templates() fs.FS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Framework ¶
type Framework struct{}
Framework is the beego router.
func (Framework) Conflicts ¶
Conflicts drops every route with the method and shape of an earlier one, trailing slash aside.
func (Framework) RoutePattern ¶
RoutePattern writes each parameter as :name, with the name an identifier, as beego takes no other.
Click to show internal directories.
Click to hide internal directories.