Documentation ¶
Overview ¶
This package provides utilities for efficiently performing Win32 IO operations in Go. Currently, this package is provides support for genreal IO and management of
- named pipes
- files
- Hyper-V sockets
This code is similar to Go's net package, and uses IO completion ports to avoid blocking IO on system threads, allowing Go to reuse the thread to schedule other goroutines.
This limits support to Windows Vista and newer operating systems.
Additionally, this package provides support for:
- creating and managing GUIDs
- writing to ETW
- opening and manageing VHDs
- parsing Windows Image files
- auto-generating Win32 API code
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeExtendedAttributes ¶
func EncodeExtendedAttributes(eas []ExtendedAttribute) ([]byte, error)
EncodeExtendedAttributes encodes a list of EAs into a FILE_FULL_EA_INFORMATION buffer for use with BackupWrite, ZwSetEaFile, etc.
Types ¶
type ExtendedAttribute ¶
ExtendedAttribute represents a single Windows EA.
func DecodeExtendedAttributes ¶
func DecodeExtendedAttributes(b []byte) (eas []ExtendedAttribute, err error)
DecodeExtendedAttributes decodes a list of EAs from a FILE_FULL_EA_INFORMATION buffer retrieved from BackupRead, ZwQueryEaFile, etc.
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
fs
This package contains Win32 filesystem functionality.
|
This package contains Win32 filesystem functionality. |
pkg
|
|
etw
Package etw provides support for TraceLogging-based ETW (Event Tracing for Windows).
|
Package etw provides support for TraceLogging-based ETW (Event Tracing for Windows). |
fs
This package contains Win32 filesystem functionality.
|
This package contains Win32 filesystem functionality. |
guid
Package guid provides a GUID type.
|
Package guid provides a GUID type. |
tools
|
|
mkwinsyscall
mkwinsyscall generates windows system call bodies
|
mkwinsyscall generates windows system call bodies |
Package wim implements a WIM file parser.
|
Package wim implements a WIM file parser. |
lzx
Package lzx implements a decompressor for the the WIM variant of the LZX compression algorithm.
|
Package lzx implements a decompressor for the the WIM variant of the LZX compression algorithm. |