Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunSimpleSocketServer ¶
func RunSimpleSocketServer(path string, handler func(net.Conn) string, errs func(error)) (func(), error)
RunSimpleSocketServer creates and runs a simple UNIX domain socket server that will call handler for each connection and write back whatever that function returns to the client. Returns a function that can be called to stop the server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.