added some comments on the server side

This commit is contained in:
2024-03-18 10:19:39 +01:00
parent b45107c94b
commit 3f836d0fa6
11 changed files with 28 additions and 98 deletions

View File

@@ -35,6 +35,7 @@ func Instance() *Config {
return instance
}
// Initialises the Config struct given its config file
func (c *Config) LoadFile(filename string) error {
fd, err := os.Open(filename)
if err != nil {