| 165 | } |
| 166 | |
| 167 | type unixServer struct { |
| 168 | addr string |
| 169 | listener *net.UnixListener |
| 170 | wg sync.WaitGroup |
| 171 | ctx context.Context |
| 172 | cancel context.CancelFunc |
| 173 | } |
| 174 | |
| 175 | func (u *unixServer) Run() error { |
| 176 | if err := os.Remove(u.addr); err != nil && !os.IsNotExist(err) { |
nothing calls this directly
no outgoing calls
no test coverage detected