Update Ascii-art schema

This commit is contained in:
Manfred Touron 2016-03-09 13:57:25 +01:00
parent 2917a33cd8
commit f59a1ba979
1 changed files with 17 additions and 14 deletions

View File

@ -7,20 +7,23 @@
[![GoDoc](https://godoc.org/github.com/moul/gotty-client?status.svg)](https://godoc.org/github.com/moul/gotty-client) [![GoDoc](https://godoc.org/github.com/moul/gotty-client?status.svg)](https://godoc.org/github.com/moul/gotty-client)
```ruby ```ruby
+----------------+ +----------------+ +-------------+ ┌─────────────────┐
| | | +---------> /bin/bash | ┌──────▶│ /bin/bash │
+---> Browser -----+ | gotty | | +-------------+ │ └─────────────────┘
+-------+ | | | | | | | ┌──────────────┐ ┌──────────┐
| | | +----------------+ | | | | +-------------+ │ │ │ Gotty │
| Bob +---+ +--->---websockets+---------> /bin/bash | ┌───────┐ ┌──▶│ Browser │───────┐ │ │
| | | +================+ | | | | +-------------+ │ │ │ │ │ │ │ │
+-------+ | |................| | | | | │ │ │ └──────────────┘ │ │ │ ┌─────────────────┐
+--->..gotty-client.-----+ | | | +-------------+ │ Bob │───┤ websockets─▶│ │─▶│ emacs /var/www │
|................| | +---------> /bin/bash | │ │ │ ╔═ ══ ══ ══ ══ ╗ │ │ │ └─────────────────┘
+================+ +----------------+ +-------------+ │ │ │ ║ ║ │ │ │
└───────┘ └──▶║ gotty-client ───────┘ │ │
^ ^ ^ ^ ^ ║ │ │
| | | | | ╚═ ══ ══ ══ ══ ╝ └──────────┘
│ ┌─────────────────┐
└──────▶│ tmux attach │
└─────────────────┘
``` ```
## Example ## Example