1GOGUI-SERVER(1) GoGui Reference GOGUI-SERVER(1)
2
3
4
6 gogui-server - Connects a Go program supporting Go Text Protocol to a
7 socket.
8
10 gogui-server -port n [-config file] [-loop] [-remote hostname]
11 [-timeout sec] [-user file] [-verbose] program
12
13 gogui-server -help
14
15 gogui-server -version
16
18 Runs a Go program supporting the Go Text Protocol by executing program,
19 and connects its input and output to a listen socket on port number
20 port of the local computer, so that other programs can connect to it
21 from the network. If the option -remote is used, an connection to
22 another host is made, instead of waiting for incoming connections.
23
25 -config file
26 Read command line options and arguments from the given file.
27
28 -help
29 Display help and exit.
30
31 -loop
32 After connection is finished, restart the program and wait for next
33 connection.
34
35 -port n
36 Port number to use for the socket.
37
38 -remote hostname
39 Connect to a remote host, instead of waiting for incoming
40 connections. See also -user.
41
42 -timeout seconds
43 Close connections if no command has been received for a number of
44 seconds. Default is zero, which means no timeout.
45
46 -user file
47 If the option -remote is used, and the remote program requires that
48 any connecting program sends some plain text login information
49 before waiting for commands, then this option can be used. The
50 argument is a filename; the content of this file is sent verbatim
51 to the remote computer.
52
53 -verbose
54 Print debugging messages.
55
56 -version
57 Print version and exit.
58
59GoGui 1.4.9 02/10/2017 GOGUI-SERVER(1)