Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerConfig ¶
type ServerConfig struct { API apiConfig `json:"api"` Server serverConfig `json:"server"` }
func ReadConfig ¶
func ReadConfig(path string) (*ServerConfig, error)
ReadConfig loads the application's configuration from a JSON file at the given path.
Click to show internal directories.
Click to hide internal directories.