Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Application ¶ added in v1.0.1
type Application struct {
// contains filtered or unexported fields
}
func NewApp ¶
func NewApp(fs *embed.FS) *Application
func (*Application) Debug ¶ added in v1.0.1
func (p *Application) Debug() *Application
func (*Application) Get ¶ added in v1.0.1
func (p *Application) Get(c interface{}) *Application
func (*Application) Run ¶ added in v1.0.1
func (p *Application) Run(addr string) error
func (*Application) ServeHTTP ¶ added in v1.0.1
func (p *Application) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (*Application) SetMiddle ¶ added in v1.0.1
func (p *Application) SetMiddle(f func(h http.Handler) http.Handler) *Application
Click to show internal directories.
Click to hide internal directories.