Documentation
¶
Index ¶
- type GolazyApp
- func (b *GolazyApp) AddAsset(path string, content []byte)
- func (b *GolazyApp) AddAssets(fs fs.FS)
- func (b *GolazyApp) AddViews(fs fs.FS)
- func (b *GolazyApp) DrawRoutes(fn func(r *lazydispatch.Scope)) *lazydispatch.Scope
- func (b *GolazyApp) Run() error
- func (b *GolazyApp) Start() <-chan (error)
- func (b *GolazyApp) Use(middleware func(http.Handler) http.Handler)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GolazyApp ¶
type GolazyApp struct {
App lazyapp.LazyApp
Server lazyhttp.HttpService
Assets lazyassets.Server
Views lazyview.Views
Dispatcher *lazydispatch.Dispatcher
}
func (*GolazyApp) DrawRoutes ¶
func (b *GolazyApp) DrawRoutes(fn func(r *lazydispatch.Scope)) *lazydispatch.Scope
Click to show internal directories.
Click to hide internal directories.