/go-openvpn-status

OpenVPN Status File Parser

Primary LanguageGo

go-openvpn-status

A simple parser for parsing OpenVPN status files

See go-doc.

Usage

status, _ := openvpnStatus.ParseFile("examples/server.status")

fmt.Printf(status.UpdateAt)

fmt.Printf(status.ClientList)

For more you can see the openvpnStatus.go file and look at the structs in the top of the file