func NewTcpServer(engine *Momonga, config *configuration.Config, inherit bool) *TcpServer { t := &TcpServer{ Engine: engine, ListenAddress: config.GetListenAddress(), config: config, stop: make(chan bool, 1), inherit: inherit, } return t }