Documentation
¶
Overview ¶
Package openvpn provides various methods for parsing and interacting with the OpenVPN server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EOF = errors.New("EOF reached")
EOF is returned when the end of the file is reached in parseLine
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
CommonName string
RealAddress Addr
BytesReceived uint64
BytesSent uint64
Since time.Time
}
Represents a OpenVPN client
type RouteAddr ¶
type RouteAddr struct {
net.IPNet
// Remote means it was learned via the remote host
// The server is forwarding this route to that host
Remote bool
}
Represents an route address with an IP and mask
Click to show internal directories.
Click to hide internal directories.