コード例 #1
0
ファイル: tls_server.go プロジェクト: kevinxusz/momonga
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
}