Documentation ¶
Index ¶
- func HandleACMEChallenges(root string, httpMux *http.ServeMux)
- func RegisterCmd(parentCmd *cobra.Command)
- type ACMEChallengeHandler
- type CloseSessionArg
- type Empty
- type GetSessionRes
- type GetSessionResp
- type GetUserloginRes
- type GetUserloginResp
- type OpenVPNASService
- func (h *OpenVPNASService) CloseSession(_ *http.Request, _ *CloseSessionArg, _ *Empty) error
- func (h *OpenVPNASService) GetAutologin(r *http.Request, _ *Empty, res *GetUserloginRes) error
- func (h *OpenVPNASService) GetSession(r *http.Request, _ *Empty, res *GetSessionRes) error
- func (h *OpenVPNASService) GetUserlogin(r *http.Request, _ *Empty, res *GetUserloginRes) error
- func (h *OpenVPNASService) ServeHTTP(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleACMEChallenges ¶
func RegisterCmd ¶
Types ¶
type ACMEChallengeHandler ¶
type ACMEChallengeHandler struct {
// contains filtered or unexported fields
}
func (*ACMEChallengeHandler) ServeHTTP ¶
func (h *ACMEChallengeHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type CloseSessionArg ¶
type CloseSessionArg struct {
SessionID string
}
type GetSessionRes ¶
type GetSessionRes struct {
Resp GetSessionResp
}
type GetSessionResp ¶
type GetUserloginRes ¶
type GetUserloginRes struct {
Profile string
}
type GetUserloginResp ¶
type GetUserloginResp struct { }
type OpenVPNASService ¶
type OpenVPNASService struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(profileRoot, realIPHeader string) *OpenVPNASService
func (*OpenVPNASService) CloseSession ¶
func (h *OpenVPNASService) CloseSession(_ *http.Request, _ *CloseSessionArg, _ *Empty) error
func (*OpenVPNASService) GetAutologin ¶
func (h *OpenVPNASService) GetAutologin(r *http.Request, _ *Empty, res *GetUserloginRes) error
func (*OpenVPNASService) GetSession ¶
func (h *OpenVPNASService) GetSession(r *http.Request, _ *Empty, res *GetSessionRes) error
func (*OpenVPNASService) GetUserlogin ¶
func (h *OpenVPNASService) GetUserlogin(r *http.Request, _ *Empty, res *GetUserloginRes) error
func (*OpenVPNASService) ServeHTTP ¶
func (h *OpenVPNASService) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.