Documentation ¶
Overview ¶
Package util holds utility functions and classes for the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenVPNClientRequest ¶
type OpenVPNClientRequest struct { // ClientIP holds the client's untrusted IP address from the authentication request. ClientIP string // Location, if present, holds additional information about the location of the client IP. Location string // Password holds the password from the authentication request. Password string // Username holds the username from the authentication request. Username string }
OpenVPNClientRequest holds data from the OpenVPN connection request
func NewOpenVPNClientRequest ¶
func NewOpenVPNClientRequest() *OpenVPNClientRequest
NewOpenVPNClientRequest creates a new OpenVPNClientRequest object based on environment variables.
Click to show internal directories.
Click to hide internal directories.