Documentation
¶
Overview ¶
Package endpoints defines a wrapper around the various endpoints returned by an eduVPN server in well-known
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoints ¶
type Endpoints struct { // API defines the API endpoints, split by version API Versions `json:"api"` // V is the version string for the server V string `json:"v"` }
Endpoints defines the json format for /.well-known/vpn-user-portal".
type List ¶
type List struct { // API is the API endpoint which we use for calls such as /info, /connect, ... API string `json:"api_endpoint"` // Authorization is the authorization endpoint for OAuth Authorization string `json:"authorization_endpoint"` // Token is the token endpoint for OAuth Token string `json:"token_endpoint"` }
List is the list of endpoints as returned by the eduVPN server
Click to show internal directories.
Click to hide internal directories.