文件名称:Elevator2021:电梯项目网络
文件大小:2.59MB
文件格式:ZIP
更新时间:2024-05-07 14:25:58
Go
电梯21 带网络的电梯项目 ElevatorServer运行-race main.go -id = 0 货物安装--force ttk4145_elevator_server export PATH =“ / home / student / .cargo / bin:$ PATH” ssh student @ ip scp -r / home / student / group67 / Elevator2021 student@10.100.23.171:/ home / student vip:10.100.23.209 到andre pc:ssh student@10.100.23.131 10.100.23.131,scp -r / home / student / group67 / Elevator2021 student@10.100.23.131:/ home /
【文件预览】:
Elevator2021-main
----.gitignore(269B)
----go.mod(21B)
----elevio()
--------elevator_io.go(3KB)
----packetLoss.sh(400B)
----.DS_Store(6KB)
----lights()
--------syncLighs.go(1KB)
----main.md(2KB)
----README.md(1KB)
----config()
--------README.md(762B)
--------config.go(853B)
----timer.md(205B)
----Elevator2021(2.8MB)
----costFunc()
--------README.md(452B)
--------costFunc.go(4KB)
----main()
--------main.go(2KB)
--------main(1.95MB)
----requests.md(2KB)
----Network()
--------conn()
--------peers()
--------bcast()
--------main.go(2KB)
--------README.md(2KB)
--------localip.go()
----elevatorDriver()
--------fsm.go(3KB)
--------timer.go(305B)
--------runElevator.go(2KB)
--------requests.go(2KB)
----ElevatorObserver()
--------elevatorObserver.go(6KB)
--------elevatorObserverFunc.go(8KB)