Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(395)

Side by Side Diff: examples/go/README.txt

Issue 1105553002: examples/go: http handler & http server (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698