Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VpnConnectionRequest ¶
VpnConnectionRequest is what is received from the Stringswan `ext-auth` script request
type VpnController ¶
type VpnController struct {
// contains filtered or unexported fields
}
func New ¶
func New(db *gorm.DB, config *models.Config, notificationsManager *services.NotificationsManager) *VpnController
New creates an instance of the controller and sets its DB handle
func (*VpnController) CheckSession ¶
func (v *VpnController) CheckSession(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.