Awesome
go-opencap
A simple golang library to exeucte basic OpenCAP functions. Be sure to vendor dependencies as there may be breaking changes from time to time.
Useful functions
GetHost() - get the host server domain given the aliases domain.
ValidateAlias() - check whether an alias is formatted correctly.