Documentation ¶
Overview ¶
Package app is provides functions for starting the Go-Auth application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartServer ¶
func StartServer()
StartServer starts the whole Go-Auth application. Firstly if tries to connect to a MySQL database, if it fails, the app won't start. Then creates new router and configures it with middleware and handler. The application listens on port 8080.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.