OLD | NEW |
1 Sample Go echo application. | 1 Sample Go echo application. |
2 | 2 |
3 Instructions to run on android emulator: | 3 Instructions to run on android emulator: |
4 | 4 |
5 1) Follow steps from //mojo/go/sample_app/README.txt | 5 1) Follow steps from //mojo/go/sample_app/README.txt |
6 | 6 |
7 To run client: | 7 To run client: |
8 $ mojo/tools/android_mojo_shell.py --url-mappings="mojo:go_echo_client"="http://
10.0.2.2:4444/obj/examples/go/go_echo_client","mojo:echo_server"="http://10.0.2.
2:4444/echo_server.mojo" "mojo:go_echo_client" | 8 $ mojo/tools/android_mojo_shell.py --enable-multiprocess mojo:go_echo_client |
9 | |
10 To run server: | |
11 $ mojo/tools/android_mojo_shell.py --url-mappings="mojo:echo_server"="http://10.
0.2.2:4444/obj/examples/go/go_echo_server","mojo:echo_client"="http://10.0.2.2:4
444/echo_client.mojo" "mojo:echo_client" | |
12 | |
13 You can't run two go mojo applications at the same time now as they need separat
ed processes. | |
OLD | NEW |