Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Config // contains filtered or unexported fields }
Client represents OpenVPN client.
func (*Client) Disconnect ¶
Disconnect closes connection, if there is no connection it does nothing.
func (*Client) GetLoadStats ¶
GetLoadStats GetLoadStats.
type Config ¶
type Config struct { Address string ReuseRecord bool ConnectTimeout time.Duration ReadTimeout time.Duration WriteTimeout time.Duration }
Config represents OpenVPN client config.
Click to show internal directories.
Click to hide internal directories.