19 lines
306 B
Go
19 lines
306 B
Go
package networker
|
|
|
|
import (
|
|
// stdlib
|
|
"log"
|
|
|
|
// local
|
|
"develop.pztrn.name/gonews/gonews/configuration"
|
|
)
|
|
|
|
// Initialize initializes package.
|
|
func Initialize() {
|
|
log.Println("Initializing network connections handler...")
|
|
|
|
for _, iface := range configuration.Cfg.Network {
|
|
go startServer(iface)
|
|
}
|
|
}
|