cd $代码目录
# 编译前端代码
cd frontend
npm install
npm run build
# 编辑golang 代码(docker)
cd ..
docker-compose build
# 运行 docker-compose
docker-compose up --remove-orphans
echo '浏览器访问 http://127.0.0.1:9528'
- guac 目录独立单独的package,只依赖标准库,减少go.mod的行数
- 优化前端代码,
Go进阶53:从零Go实现Websocket-H5-RDP/VNC远程桌面客户端
Home Page: https://mojotv.cn/golang/golang-html5-websocket-remote-desktop
Hi,
I run your code and get some problems.
I run "npm run serve" in cmd, and run main.go in cmd . broswe in 127.0.0.1:8080, I get the view,
but after I change "资产Host" to my target windows' ip, such as 192.168.199.101, the browser notice me that waiting and final connect fail.
How do I do ?
作者你好,我调试了一下您的代码,然后按照您视频中的步骤一步步编译好了,这些都没问题,我打开localhost:9528也正常显示,但是就一直无法连接,当我点击连接后,会弹出来WAITING和DISCONNECTED的信息,试过很多次一直都没法解决。想请教一下做着这种属于什么情况呢?改的话应该怎么改呢?
有没有可能把容器涉及到的协议,集成到golang 代码里,这样go 一键即可运行了啊。。
作者大大你好,请问下怎么能够进行文件的相互传输呢?
谢谢 (#^.^#)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.