package
0.0.0-20200311102559-6e5b34bf722a
Repository: https://github.com/marlinski/go-openvpn.git
Documentation: pkg.go.dev

# Functions

ParseMessage received from an openvpn management interface.
ParseResponse a response to a command Response is either SUCCESS: or ERROR: or a wall of multiline texts that ends with END.
ValidateCommand before sending to the openvpn mgmt interface.

# Variables

# Structs

BytecountMessage returns bytes in/out.
GenericMessage doesn't require specific parser.
HoldMessage returns the hold time.
Response from openvpn management.
UPDownMessage contains all the environoment variable spanned on a multiline reply.

# Interfaces

Message from openvpn management.

# Type aliases

Parser takes a string and returns a message.