package
0.0.0-20210825173658-6925780e3d23
Repository: https://github.com/forestvpn/go-api-client.git
Documentation: pkg.go.dev
# Functions
New creates a new wireguard API client.
NewPeersListDefault creates a PeersListDefault with default headers values.
NewPeersListOK creates a PeersListOK with default headers values.
NewPeersListParams creates a new PeersListParams object, with the default timeout for this client.
NewPeersListParamsWithContext creates a new PeersListParams object with the ability to set a context for a request.
NewPeersListParamsWithHTTPClient creates a new PeersListParams object with the ability to set a custom HTTPClient for a request.
NewPeersListParamsWithTimeout creates a new PeersListParams object with the ability to set a timeout on a request.
# Structs
Client for wireguard API
*/.
PeersListDefault describes a response with status code -1, with default header values.
PeersListOK describes a response with status code 200, with default header values.
PeersListParams contains all the parameters to send to the API endpoint
for the peers list operation.
PeersListReader is a Reader for the PeersList structure.
# Interfaces
ClientService is the interface for Client methods.
# Type aliases
ClientOption is the option for Client methods.