Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
Application declare application's information
func (*Application) AwaitSignal ¶
func (a *Application) AwaitSignal()
AwaitSignal serve caller to await server running
func (*Application) Start ¶
func (a *Application) Start() error
Start serve caller to start an application
type Option ¶
type Option func(app *Application) error
Option declare application options
func HTTPServerOption ¶
HTTPServerOption declare http server option
Click to show internal directories.
Click to hide internal directories.