Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 13-Feb-2018 | - | ||||
static/ | H | 03-May-2022 | - | 49 | 40 | |
test/ | H | 13-Feb-2018 | - | 17 | 12 | |
README.md | H A D | 13-Feb-2018 | 578 | 31 | 17 | |
main.go | H A D | 13-Feb-2018 | 546 | 25 | 20 |
README.md
1web example 2=========== 3 4This is a very simple example of how the `web` package can be used to build 5a web-based front end for GDB. 6 7![Screenshot](http://i.imgur.com/Ql48hXT.png) 8 9Usage 10----- 11 121. move into this directory; 13 142. compile the dummy test program with: 15 16 make -C test/ dummy 17 183. fetch the WebSocket library: 19 20 go get golang.org/x/net/websocket 21 224. start the server with: 23 24 go run main.go 25 26 then load `http://localhost:8080/` in your browser 27 285. load the test program using a relative path `test/dummy`; 29 306. the rest should be straightforward... 31