Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //ConfigurationData contains all configuration data ConfigurationData = &Configuration{} )
View Source
var (
ErrFailedToConnectToSQL = "Failed to connect to mysql %v\n"
)
View Source
var (
MapMessage map[string]MessageModel
)
Functions ¶
func LoadMessage ¶
func LoadMessage()
* load message configuration and binding into [] MessageModel struct
Types ¶
type Configuration ¶
func GetConfiguration ¶
func GetConfiguration() *Configuration
GetConfiguration Get the new configuration
type MessageModel ¶
func GetMessage ¶
func GetMessage(errMessage string) MessageModel
get message base on map with key and return message struct
Click to show internal directories.
Click to hide internal directories.