mirror of
https://github.com/yudai/gotty.git
synced 2026-01-16 14:35:30 +01:00
commit
ec70160666
2 changed files with 2 additions and 2 deletions
|
|
@ -66,7 +66,7 @@ By default, GoTTY starts a web server at port 8080. Open the URL on your web bro
|
||||||
--once Accept only one client and exit on disconnection [$GOTTY_ONCE]
|
--once Accept only one client and exit on disconnection [$GOTTY_ONCE]
|
||||||
--config "~/.gotty" Config file path [$GOTTY_CONFIG]
|
--config "~/.gotty" Config file path [$GOTTY_CONFIG]
|
||||||
--version, -v print the version
|
--version, -v print the version
|
||||||
--permit-arguments Allow to send arguments like this http://exemple.com:8080/?arg=AAA&arg=BBB
|
--permit-arguments Allow to send arguments like this http://example.com:8080/?arg=AAA&arg=BBB
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
2
main.go
2
main.go
|
|
@ -34,7 +34,7 @@ func main() {
|
||||||
flag{"reconnect", "", "Enable reconnection"},
|
flag{"reconnect", "", "Enable reconnection"},
|
||||||
flag{"reconnect-time", "", "Time to reconnect"},
|
flag{"reconnect-time", "", "Time to reconnect"},
|
||||||
flag{"once", "", "Accept only one client and exit on disconnection"},
|
flag{"once", "", "Accept only one client and exit on disconnection"},
|
||||||
flag{"permit-arguments", "", "Allow to send arguments like this http://exemple.com:8080/?arg=AAA&arg=BBB"},
|
flag{"permit-arguments", "", "Allow to send arguments like this http://example.com:8080/?arg=AAA&arg=BBB"},
|
||||||
}
|
}
|
||||||
|
|
||||||
mappingHint := map[string]string{
|
mappingHint := map[string]string{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue