mirror of
https://github.com/Luzifer/expose.git
synced 2024-12-22 19:01:21 +00:00
Fix README execution examples
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
689235bda7
commit
9457b57cc5
1 changed files with 3 additions and 3 deletions
|
@ -11,18 +11,18 @@
|
||||||
```
|
```
|
||||||
- Close that port again
|
- Close that port again
|
||||||
```bash
|
```bash
|
||||||
# go run *.go delete 4000
|
# expose delete 4000
|
||||||
Successfully closed tunnel "expose_4000" to address "localhost:4000".
|
Successfully closed tunnel "expose_4000" to address "localhost:4000".
|
||||||
```
|
```
|
||||||
- Quickly share a folder with files through HTTP
|
- Quickly share a folder with files through HTTP
|
||||||
```bash
|
```bash
|
||||||
# go run *.go serve
|
# expose serve
|
||||||
Created HTTP server for this directory with URL https://81e668af.eu.ngrok.io
|
Created HTTP server for this directory with URL https://81e668af.eu.ngrok.io
|
||||||
Press Ctrl+C to stop server and tunnel
|
Press Ctrl+C to stop server and tunnel
|
||||||
```
|
```
|
||||||
- List the active tunnels in a nice table
|
- List the active tunnels in a nice table
|
||||||
```bash
|
```bash
|
||||||
# go run *.go list
|
# expose list
|
||||||
NAME | TYPE | ADDRESS | PUBLIC URL
|
NAME | TYPE | ADDRESS | PUBLIC URL
|
||||||
+-------------+-------+----------------+------------------------------+
|
+-------------+-------+----------------+------------------------------+
|
||||||
expose_3000 | https | localhost:3000 | https://9c8d36d6.eu.ngrok.io
|
expose_3000 | https | localhost:3000 | https://9c8d36d6.eu.ngrok.io
|
||||||
|
|
Loading…
Reference in a new issue