Exemplo n.º 1
0
func NewTlsServer(engine *Momonga, config *configuration.Config, inherit bool) *TlsServer {
	t := &TlsServer{
		Engine:        engine,
		ListenAddress: config.GetTlsListenAddress(),
		config:        config,
		stop:          make(chan bool, 1),
		inherit:       inherit,
	}

	return t
}