Documentation
¶
Overview ¶
Package client implements Wrapper around `net/http` to make HTTP requests to the admin REST API.
Index ¶
Constants ¶
View Source
const APPLICATION_JSON = "application/json"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceResponse ¶
type WGClient ¶ added in v1.0.4
type WGClient struct {
// contains filtered or unexported fields
}
func NewWGClient ¶
Create authenticated `WGClient` ready to use.
func (WGClient) List ¶ added in v1.0.4
func (wg WGClient) List() ([]DeviceResponse, error)
List - returns list of all clients.
Click to show internal directories.
Click to hide internal directories.