UnixSockPipe implements the UpdatePipe interface by serializating updates to/from a Unix domain socket. Due to the way Unix sockets work, only one Listen goroutine can be running. The socket is stream-oriented and consists of the following messages: SENDER_ID;JSON_SERIALIZED_INTERNAL_OBJECT\n An
| 44 | // The SockPath field specifies the socket path to use. The actual socket |
| 45 | // is initialized on the first call to Listen or (Init)Push. |
| 46 | type UnixSockPipe struct { |
| 47 | SockPath string |
| 48 | Log *log.Logger |
| 49 | |
| 50 | listener net.Listener |
| 51 | sender net.Conn |
| 52 | } |
| 53 | |
| 54 | var _ P = &UnixSockPipe{} |
| 55 |
nothing calls this directly
no outgoing calls
no test coverage detected