Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitApp ¶
InitApp initialize the application container and load resources like JDBC, Messaging server and so on. InitApp only needs to be called once. If the configuration changes, you can call it again to reinitialize the app. "filename" is optional, it is provided, then the configuration is loaded from the file and saved them in appConfig, otherwise it is provided in code. You can also hard code the configuration values in code.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
package container use dependency injection to create concrete type and wire the whole application together
|
package container use dependency injection to create concrete type and wire the whole application together |
Package logger represents a generic logging interface
|
Package logger represents a generic logging interface |
Click to show internal directories.
Click to hide internal directories.