The strongSwan vici protocol is used for external applications to monitor, configure, and control the IKE daemon charon. This Go package provides a pure-go implementation of a vici client library.
The package documentation can be found on godoc.
This package makes an effort to not make breaking changes to the API, but while it is in early stages it may be necessary. The goal is to be able to guarantee API stability at v1.0.0
. For details on changes to the API, please read the changelog.
import (
"github.com/strongswan/govici/vici"
)
This package does not implement wrappers for individual vici commands, nor does it pre-define types for the message parameter of those commands. Commands are made by passing a command name and a populated Message
to the Session.CommandRequest
function. For a detailed walkthrough on how to use this package, see Getting Started with vici.
There are additional examples for some functions on godoc.