1. <strong id="7actg"></strong>
    2. <table id="7actg"></table>

    3. <address id="7actg"></address>
      <address id="7actg"></address>
      1. <object id="7actg"><tt id="7actg"></tt></object>

        thrust breach跨平臺(tái)應(yīng)用框架

        聯(lián)合創(chuàng)作 · 2023-09-30 17:25

        thrust 是基于 Chromium 的跨平臺(tái)、跨語言應(yīng)用程序框架。

        語言綁定:

        NodeJS

        通過  npm install node-thrust:

        
         

        require('node-thrust')(function(err, api) {
         api.window({ root_url: 'https://breach.cc' }).show();
        });

        庫:

        Go

        通過 go get -u github.com/miketheprogrammer/go-thrust/:

        
         

        package mainimport (    "github.com/miketheprogrammer/go-thrust/dispatcher"
           "github.com/miketheprogrammer/go-thrust/spawn"
           "github.com/miketheprogrammer/go-thrust/window")func main() {
           spawn.Run()    thrustWindow := window.NewWindow("http://breach.cc/", nil)
           thrustWindow.Show()
           thrustWindow.Maximize()
           thrustWindow.Focus()
           dispatcher.RunLoop()
        }

        Python

        通過 pip3 install pythrust [--user] (要求 Python3):

        
         

        import asyncio, pythrust

        loop = asyncio.get_event_loop()
        api = pythrust.API(loop)

        asyncio.async(api.spawn())
        asyncio.async(api.window({ 'root_url': 'http://breach.cc' }).show())

        loop.run_forever()

         

        架構(gòu):

        [Thurst Architecture]
        
                  (Platform)           [stdio]      (Your Implementation)
        
                                          #
                       +--------------+   #       +-----------------------+  | 
                       | Cocoa / Aura |   #   +---|    win3: (HTML/JS)    |  |
                       +-------+------+   #   |  +-----------------------++  |
                               |          #   +--|    win2: (HTML/JS)    |   | cli
        +------------+ +-------+------+   #   | +-----------------------++   |
        |            +-+ thrust (C++) +-------+-+    win1: (HTML/JS)    |    |
        | ContentAPI | +-------+------+   #     +-----------------------+    |
        |            |         |          #                | (TCP/FS)      
        | (Blink/v8) | +-------+------+   #     +-----------------------+    |
        |            | + JSON RPC srv +---------+ Client App (any Lang) |    | srv
        +------------+ +--------------+   #     +-----------------------+    |
                                          #

         

        瀏覽 11
        點(diǎn)贊
        評(píng)論
        收藏
        分享

        手機(jī)掃一掃分享

        編輯 分享
        舉報(bào)
        評(píng)論
        圖片
        表情
        推薦
        點(diǎn)贊
        評(píng)論
        收藏
        分享

        手機(jī)掃一掃分享

        編輯 分享
        舉報(bào)
        1. <strong id="7actg"></strong>
        2. <table id="7actg"></table>

        3. <address id="7actg"></address>
          <address id="7actg"></address>
          1. <object id="7actg"><tt id="7actg"></tt></object>
            国产精品偷窥熟女精品视 | 国产女人18毛片水真多成人如厕 | 一级片免费观看视频 | 婷婷五月天黄色 | 欧美黄色三级电影 | 成年视频免费观看 | 黄色免费小视频 | 女人劈开腿让男人桶 | 农村乱子伦毛片国产乱 | 97福利导航 |