Documentation ¶
Index ¶
- type ApiClientWrapper
- func (w ApiClientWrapper) CreateDevice() (*forestvpn_api.Device, error)
- func (w ApiClientWrapper) GetBillingFeatures() ([]forestvpn_api.BillingFeature, error)
- func (w ApiClientWrapper) GetLocations() ([]forestvpn_api.Location, error)
- func (w ApiClientWrapper) UpdateDevice(deviceID string, locationID string) (*forestvpn_api.Device, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiClientWrapper ¶
type ApiClientWrapper struct { APIClient *forestvpn_api.APIClient AccessToken string }
func GetApiClient ¶
func GetApiClient(accessToken string, apiHost string) ApiClientWrapper
func (ApiClientWrapper) CreateDevice ¶
func (w ApiClientWrapper) CreateDevice() (*forestvpn_api.Device, error)
func (ApiClientWrapper) GetBillingFeatures ¶
func (w ApiClientWrapper) GetBillingFeatures() ([]forestvpn_api.BillingFeature, error)
func (ApiClientWrapper) GetLocations ¶
func (w ApiClientWrapper) GetLocations() ([]forestvpn_api.Location, error)
func (ApiClientWrapper) UpdateDevice ¶
func (w ApiClientWrapper) UpdateDevice(deviceID string, locationID string) (*forestvpn_api.Device, error)
Click to show internal directories.
Click to hide internal directories.