• Home
  • Annotate
  • current directory
Name Date Size #Lines LOC

..18-Mar-2022-

LICENSE A D18-Mar-202225.9 KiB503418

Makefile A D18-Mar-20221.8 KiB5628

README.md A D18-Mar-2022990 2921

gengotypes.py A D18-Mar-202224 KiB739500

go.mod A D18-Mar-202278 42

helpers.gen.go A D18-Mar-2022125.9 KiB4,1833,538

types.gen.go A D18-Mar-202221.8 KiB1,1951,062

xenlight.go A D18-Mar-202229.7 KiB1,274831

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