Skip to content

Go Client Library

Much of the RackN DRP product is implemented in go. For example, drpcli is a multi-platform golang-based tool. For it to interact with DRP, a library of functions exists to faciliate that interaction.

Any golang program can include and use this library to drive a DRP endpoint.

The golang code resides in gitlab with generated go docs.

Examples

The drpcli program is implemented as a library in the cli package within the provision repository. You can review the code for ways to call the library.