| OLD | NEW |
| 1 Sample Go echo application. | 1 Sample Go applications. |
| 2 | 2 |
| 3 Instructions to run on android emulator: | 3 echo_client, echo_server - sample applications that talk to each other |
| 4 |
| 5 http_handler - application that implements HTTP server; uses the mojo HTTP |
| 6 Server service to handle the HTTP protocol details, and just contains the logic |
| 7 for handling its registered urls. |
| 8 |
| 9 http_server - application that implements HTTP server; uses go net stack on top |
| 10 of the mojo network service. |
| 4 | 11 |
| 5 1) Follow steps from //mojo/go/sample_app/README.txt | 12 1) Follow steps from //mojo/go/sample_app/README.txt |
| 6 | 13 |
| 7 To run client: | 14 To run echo client: |
| 8 $ mojo/tools/android_mojo_shell.py --enable-multiprocess mojo:go_echo_client | 15 $ mojo/tools/android_mojo_shell.py --enable-multiprocess mojo:go_echo_client |
| 16 |
| 17 To run http handler: |
| 18 $ mojo/tools/android_mojo_shell.py --enable-multiprocess mojo:go_http_handler |
| 19 |
| 20 To run http server: |
| 21 $ mojo/tools/android_mojo_shell.py --enable-multiprocess mojo:go_http_server |
| OLD | NEW |