package
0.0.0-20210825173658-6925780e3d23
Repository: https://github.com/forestvpn/go-api-client.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

New creates a new device API client.
NewDeviceListDefault creates a DeviceListDefault with default headers values.
NewDeviceListOK creates a DeviceListOK with default headers values.
NewDeviceListParams creates a new DeviceListParams object, with the default timeout for this client.
NewDeviceListParamsWithContext creates a new DeviceListParams object with the ability to set a context for a request.
NewDeviceListParamsWithHTTPClient creates a new DeviceListParams object with the ability to set a custom HTTPClient for a request.
NewDeviceListParamsWithTimeout creates a new DeviceListParams object with the ability to set a timeout on a request.
NewDevicesStatsUpdateDefault creates a DevicesStatsUpdateDefault with default headers values.
NewDevicesStatsUpdateOK creates a DevicesStatsUpdateOK with default headers values.
NewDevicesStatsUpdateParams creates a new DevicesStatsUpdateParams object, with the default timeout for this client.
NewDevicesStatsUpdateParamsWithContext creates a new DevicesStatsUpdateParams object with the ability to set a context for a request.
NewDevicesStatsUpdateParamsWithHTTPClient creates a new DevicesStatsUpdateParams object with the ability to set a custom HTTPClient for a request.
NewDevicesStatsUpdateParamsWithTimeout creates a new DevicesStatsUpdateParams object with the ability to set a timeout on a request.

# Structs

Client for device API */.
DeviceListDefault describes a response with status code -1, with default header values.
DeviceListOK describes a response with status code 200, with default header values.
DeviceListParams contains all the parameters to send to the API endpoint for the device list operation.
DeviceListReader is a Reader for the DeviceList structure.
DevicesStatsUpdateDefault describes a response with status code -1, with default header values.
DevicesStatsUpdateOK describes a response with status code 200, with default header values.
DevicesStatsUpdateParams contains all the parameters to send to the API endpoint for the devices stats update operation.
DevicesStatsUpdateReader is a Reader for the DevicesStatsUpdate structure.

# Interfaces

ClientService is the interface for Client methods.

# Type aliases

ClientOption is the option for Client methods.