Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 18-Mar-2022 | - | ||||
LICENSE | A D | 18-Mar-2022 | 25.9 KiB | 503 | 418 | |
Makefile | A D | 18-Mar-2022 | 1.8 KiB | 56 | 28 | |
README.md | A D | 18-Mar-2022 | 990 | 29 | 21 | |
gengotypes.py | A D | 18-Mar-2022 | 24 KiB | 739 | 500 | |
go.mod | A D | 18-Mar-2022 | 78 | 4 | 2 | |
helpers.gen.go | A D | 18-Mar-2022 | 125.9 KiB | 4,183 | 3,538 | |
types.gen.go | A D | 18-Mar-2022 | 21.8 KiB | 1,195 | 1,062 | |
xenlight.go | A D | 18-Mar-2022 | 29.7 KiB | 1,274 | 831 |
README.md
1# xenlight 2 3## About 4 5The xenlight package provides Go bindings to Xen's libxl C library via cgo. 6The package is currently in an unstable "experimental" state. This means 7the package is ready for initial use and evaluation, but is not yet fully 8functional. Namely, only a subset of libxl's API is implemented, and 9breaking changes may occur in future package versions. 10 11Much of the package is generated using the libxl IDL. Changes to the 12generated code can be made by modifying `tools/golang/xenlight/gengotypes.py` 13in the xen.git tree. 14 15## Getting Started 16 17```go 18import ( 19 "xenbits.xenproject.org/git-http/xen.git/tools/golang/xenlight" 20) 21``` 22 23The module is not yet tagged independently of xen.git; if you don’t specify 24the version, you’ll get the most recent development version, which is 25probably not what you want. A better option would be to specify a Xen 26release tag; for instance: 27 28 go get xenbits.xenproject.org/git-http/xen.git/tools/golang/xenlight@RELEASE-4.14.0. 29