Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
Application is responsible to manage the state of the application. It contains and handles all the necessary parts to create a fast web server.
func (*Application) Bootstrap ¶
func (a *Application) Bootstrap() *Application
Bootstrap will bootstrap the base application instance
func (*Application) Configure ¶
func (a *Application) Configure(Configurators ...Configurator)
Configure runs all given configurators in a pipeline
func (*Application) Listen ¶
func (a *Application) Listen(address string, configurators ...iris.Configurator)
Listen will run the application on given address
func (*Application) SetupErrorHandlers ¶
func (a *Application) SetupErrorHandlers()
SetupErrorHandlers will handle response for any kind of errors It uses `message` and `code` value that has set in context
type Configurator ¶
type Configurator func(*Application)
Configurator is just a function which accepts the framework instance. It is used for configuring application instance
Click to show internal directories.
Click to hide internal directories.