Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenVPN ¶
type OpenVPN struct { StateChannel chan *VPNStateEvent ClientChannel chan *VPNClientEvent // contains filtered or unexported fields }
func StartOpenVPN ¶
func (*OpenVPN) ExecCommand ¶
type VPNClientEvent ¶
type VPNManager ¶
type VPNManager struct { Server *OpenVPN Firewall *fw.Firewall // contains filtered or unexported fields }
func BootVPN ¶
func BootVPN(conf config.ConfigurationBackend, root string) (rv *VPNManager, err error)
func (*VPNManager) DisconnectUser ¶
func (m *VPNManager) DisconnectUser(user string) error
func (*VPNManager) Shutdown ¶
func (m *VPNManager) Shutdown()
Click to show internal directories.
Click to hide internal directories.