Documentation
¶
Overview ¶
Package vpn provides an i3bar module for openvpn information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module represents a VPN bar module.
func DefaultInterface ¶
func DefaultInterface() *Module
DefaultInterface constructs an instance of the VPN module for "tun0", the usual interface for VPNs.
func New ¶
New constructs an instance of the VPN module for the specified interface.
func (*Module) Output ¶
Output configures a module to display the output of a user-defined function.
Source Files
¶
- vpn.go
Click to show internal directories.
Click to hide internal directories.