Documentation ¶
Overview ¶
Configuration package is used to read the configuration file config.json which stores the server port for current implementation
{ "ServerPort": ":8081" }
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct {
ServerPort string
}
Configuration Stores the main configuration for the application
func ReadConfig ¶
func ReadConfig(fileName string) (Configuration, error)
ReadConfig will read the configuration json file to read the parameters which will be passed in the config file
Click to show internal directories.
Click to hide internal directories.