Harden local runtime safety and error handling
This commit is contained in:
1 parent
fba9f2972a
commit
8e7da97394
25 files changed
+726
-245
No files matched your search
@@ -180,5 +180,5 @@ func (c *Config) setDefaults() {
|
||||
}
|
||||
|
||||
func (c *Config) Address() string {
|
||||
return fmt.Sprintf("%s:%d", c.Server.Host, c.Server.Port)
|
||||
return net.JoinHostPort(c.Server.Host, strconv.Itoa(c.Server.Port))
|
||||
}
|
||||
Reference in new issue
Block a user