Documentation

This commit is contained in:
Magnus Åhall 2021-12-23 09:29:18 +01:00
parent ad5c651241
commit 6822cf93fb

View File

@ -78,6 +78,8 @@ func main() {
}
}
// SessionLoop opens sockets and loops when a socket error occurs, trying to
// open the sockets again.
func SessionLoop() {
var err error
for {
@ -107,7 +109,6 @@ func SessionLoop() {
os.Exit(1)
}
/* Loop will return on socket errors, for example when an i3
* restart occurs. The socket will not be immediately available
* then. Some connection errors can thus occur until i3 has