Sebastian Mark
09b475dd61
- introduce GoTomatoServerConfig
- create instance variable with the current config
- update server to use configurable listen address and port
🤖
6 lines
140 B
Go
6 lines
140 B
Go
package models
|
|
|
|
type GoTomatoServerConfig struct {
|
|
ListenAddress string `json:"listenAddress"`
|
|
ListenPort int `json:"listenPort"`
|
|
}
|