func startup() {
	INFO("Starting GS.")
	config := cfg.Get()
	if config["gs_log"] != "" {
		cfg.StartLogger(config["gs_log"])
	}
	hub_client.DialHub()
	go SignalProc()
	go SysRoutine()
	go stats_client.DialStats()
}
---------------------------------------------------------- game server start-up procedure
package main
import (
	"agent/hub_client"
	"agent/stats_client"
	"cfg"
	. "helper"
)