You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: risefront.go
+27-17Lines changed: 27 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -37,12 +37,13 @@ type Config struct {
37
37
Addresses []string// Addresses to listen to.
38
38
Runfunc([]net.Listener) error// Handle the connections. All open connections should be properly closed before returning (srv.Shutdown for http.Server for instance).
39
39
40
-
Namestring// Name of the socket file
41
-
DialerDialer// Dialer for child-parent communication. Let empty for default dialer (PrefixDialer{}).
42
-
Networkstring// "tcp" (default if empty), "tcp4", "tcp6", "unix" or "unixpacket"
43
-
ErrorHandlerfunc(kindstring, errerror) // Where errors should be logged (print to stderr by default)
44
-
RestartSignal os.Signal// Signal to trigger a restart
45
-
NoRestartbool// Disables all restarts
40
+
Namestring// Name of the socket file
41
+
DialerDialer// Dialer for child-parent communication. Let empty for default dialer (PrefixDialer{}).
42
+
Networkstring// "tcp" (default if empty), "tcp4", "tcp6", "unix" or "unixpacket"
43
+
ErrorHandlerfunc(kindstring, errerror) // Where errors should be logged (print to stderr by default)
44
+
RestartSignal os.Signal// Signal to trigger a restart
45
+
NoRestartbool// Disables all restarts
46
+
LogHandlerfunc(loglevelLogLevel, kindstring, args...interface{}) // Where debug messages should be logged
46
47
47
48
_struct{} // to later add fields without break compatibility.
0 commit comments