gonews/networker/exported.go

19 lines
306 B
Go
Raw Normal View History

2019-09-02 19:51:38 +05:00
package networker
import (
// stdlib
"log"
// local
"develop.pztrn.name/gonews/gonews/configuration"
2019-09-02 19:51:38 +05:00
)
// Initialize initializes package.
func Initialize() {
log.Println("Initializing network connections handler...")
for _, iface := range configuration.Cfg.Network {
go startServer(iface)
}
2019-09-02 19:51:38 +05:00
}