Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpService ¶
type HttpService struct { }
func (HttpService) Register ¶
func (hs HttpService) Register(app *framework.App) error
Register service when app starting, before http server start you can configure service, prepare global vars etc. running at main goroutine
func (HttpService) RegisterRoutes ¶
func (hs HttpService) RegisterRoutes(rw *router.Wrapper)
Click to show internal directories.
Click to hide internal directories.