/go-win-iscsidsc

Golang bindings to (some of) Windows' iSCSI Discovery Library API (https://docs.microsoft.com/en-us/windows/desktop/api/_iscsidisc/)

Primary LanguageGoApache License 2.0Apache-2.0

Build status

go-win-iscsidsc

Golang bindings to (some of) Windows' iSCSI Discovery Library API.

Why?

If you need to manage Windows' built-in iSCSI client from a Golang code-base, and would rather avoid having to ship separate binaries and/or Powershell scripts alongside your Go-compiled executable, this library will allow you to make calls directly to Windows' API.

How?

go-win-iscsidsc makes syscalls to Windows' API, and takes care of all the nitty-gritty details of converting back and forth from low-level structs to nice go structs.

Supported functions

We currently support the following iscsidsc.h functions:

If you need more functions, please feel free to open an issue, or even better a pull request!

Supported go versions

Automated builds ensure compatibility with go versions 1.11 and 1.12.