Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitAppEngine ¶
InitAppEngine sets up the whole Gin application, loading templates and middleware and defining routes. The test suite can use this to get an instance of the Gin engine to bind to.
Set param quietMode during unit/integration tests to suppress Gin's STDOUT logging. Those log statements are useful in development, but can be verbose and clutter the test output.
func Run ¶
Run runs the Registry application. This is called from main() to start the app. Listen on 127.0.0.1, not on 0.0.0.0 because we don't want to accept outside connections.
func SetVersion ¶
func SetVersion(version string)
SetVersion passes the build version into the core namespace, so other parts of the app have access to it. This value is passed in at build time by the go build command.
Types ¶
This section is empty.