Clone this repo:
  1. f3b1913 Merge pull request #43 from simonferquel/deadlock-on-concurrent-rw by John Howard · 11 hours ago master v0.3.9
  2. 7c7d6b4 Flush file buffers on CloseWrite by Simon Ferquel · 6 weeks ago
  3. 203d18a Introduces a test that does an echo using message mode named pipes by Simon Ferquel · 6 weeks ago
  4. fff283a Merge pull request #40 from Microsoft/altdatastream by Stefan J. Wernli · 3 months ago v0.3.8
  5. 1039049 Fix filename length check alt data stream by John Howard · 3 months ago altdatastream


This repository contains utilities for efficiently performing Win32 IO operations in Go. Currently, this is focused on accessing named pipes and other file handles, and for using named pipes as a net transport.

This code relies on IO completion ports to avoid blocking IO on system threads, allowing Go to reuse the thread to schedule another goroutine. This limits support to Windows Vista and newer operating systems. This is similar to the implementation of network sockets in Go's net package.

Please see the LICENSE file for licensing information.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.

Thanks to natefinch for the inspiration for this library. See for another named pipe implementation.