Merge branch 'master' of https://github.com/natefinch/npipe
tree: f0bec97d4d30fc640b0596fc67bed7e3984e772f
  1. .gitignore
  2. .travis.yml
  3. example_windows_test.go
  4. LICENSE.txt
  5. npipe_windows.go
  6. npipe_windows_test.go
  7. README.md
  8. znpipe_windows_386.go
  9. znpipe_windows_amd64.go
README.md

npipe

A Windows named pipe implementation written in pure Go.

See documentation at http://godoc.org/github.com/natefinch/npipe

Written for Go 1.1.

Notes

Deadlines for reading/writing to the connection are only functional in Windows Vista/Server 2008 and above, due to limitations with the Windows API.

How to Build

The z files contain new syscalls that don't exist in the standard library.

They are generated by running

$gosource/src/pkg/syscall/mksyscall_windows.pl npipe_windows.go > znpipe_windows_amd64.go $gosource/src/pkg/syscall/mksyscall_windows.pl -l32 npipe_windows.go > znpipe_windows_386.go

Otherwise it's a normal Go package.