# Functions
NewDeviceCreate creates a new http.Handler for the device create operation.
NewDeviceCreateConflict creates DeviceCreateConflict with default headers values.
NewDeviceCreateCreated creates DeviceCreateCreated with default headers values.
NewDeviceCreateDefault creates DeviceCreateDefault with default headers values.
NewDeviceCreateParams creates a new DeviceCreateParams object no default values defined in spec.
NewDeviceDelete creates a new http.Handler for the device delete operation.
NewDeviceDeleteDefault creates DeviceDeleteDefault with default headers values.
NewDeviceDeleteNoContent creates DeviceDeleteNoContent with default headers values.
NewDeviceDeleteNotFound creates DeviceDeleteNotFound with default headers values.
NewDeviceDeleteParams creates a new DeviceDeleteParams object no default values defined in spec.
NewDeviceGet creates a new http.Handler for the device get operation.
NewDeviceGetDefault creates DeviceGetDefault with default headers values.
NewDeviceGetNotFound creates DeviceGetNotFound with default headers values.
NewDeviceGetOK creates DeviceGetOK with default headers values.
NewDeviceGetParams creates a new DeviceGetParams object no default values defined in spec.
NewDeviceList creates a new http.Handler for the device list operation.
NewDeviceListDefault creates DeviceListDefault with default headers values.
NewDeviceListOK creates DeviceListOK with default headers values.
NewDeviceListParams creates a new DeviceListParams object no default values defined in spec.
NewPeerCreate creates a new http.Handler for the peer create operation.
NewPeerCreateCreated creates PeerCreateCreated with default headers values.
NewPeerCreateDefault creates PeerCreateDefault with default headers values.
NewPeerCreateNotFound creates PeerCreateNotFound with default headers values.
NewPeerCreateParams creates a new PeerCreateParams object no default values defined in spec.
NewPeerDelete creates a new http.Handler for the peer delete operation.
NewPeerDeleteDefault creates PeerDeleteDefault with default headers values.
NewPeerDeleteNoContent creates PeerDeleteNoContent with default headers values.
NewPeerDeleteNotFound creates PeerDeleteNotFound with default headers values.
NewPeerDeleteParams creates a new PeerDeleteParams object no default values defined in spec.
NewPeerGet creates a new http.Handler for the peer get operation.
NewPeerGetDefault creates PeerGetDefault with default headers values.
NewPeerGetNotFound creates PeerGetNotFound with default headers values.
NewPeerGetOK creates PeerGetOK with default headers values.
NewPeerGetParams creates a new PeerGetParams object no default values defined in spec.
NewPeerList creates a new http.Handler for the peer list operation.
NewPeerListDefault creates PeerListDefault with default headers values.
NewPeerListNotFound creates PeerListNotFound with default headers values.
NewPeerListOK creates PeerListOK with default headers values.
NewPeerListParams creates a new PeerListParams object no default values defined in spec.
# Constants
DeviceCreateConflictCode is the HTTP code returned for type DeviceCreateConflict.
DeviceCreateCreatedCode is the HTTP code returned for type DeviceCreateCreated.
DeviceDeleteNoContentCode is the HTTP code returned for type DeviceDeleteNoContent.
DeviceDeleteNotFoundCode is the HTTP code returned for type DeviceDeleteNotFound.
DeviceGetNotFoundCode is the HTTP code returned for type DeviceGetNotFound.
DeviceGetOKCode is the HTTP code returned for type DeviceGetOK.
DeviceListOKCode is the HTTP code returned for type DeviceListOK.
PeerCreateCreatedCode is the HTTP code returned for type PeerCreateCreated.
PeerCreateNotFoundCode is the HTTP code returned for type PeerCreateNotFound.
PeerDeleteNoContentCode is the HTTP code returned for type PeerDeleteNoContent.
PeerDeleteNotFoundCode is the HTTP code returned for type PeerDeleteNotFound.
PeerGetNotFoundCode is the HTTP code returned for type PeerGetNotFound.
PeerGetOKCode is the HTTP code returned for type PeerGetOK.
PeerListNotFoundCode is the HTTP code returned for type PeerListNotFound.
PeerListOKCode is the HTTP code returned for type PeerListOK.
# Structs
DeviceCreate swagger:route POST /devices/ wireguard deviceCreate
create new wireguard device
*/.
DeviceCreateConflict device exists
swagger:response deviceCreateConflict
*/.
DeviceCreateCreated created
swagger:response deviceCreateCreated
*/.
DeviceCreateDefault error
swagger:response deviceCreateDefault
*/.
DeviceCreateParams contains all the bound params for the device create operation typically these are obtained from a http.Request
swagger:parameters DeviceCreate.
DeviceCreateURL generates an URL for the device create operation.
DeviceDelete swagger:route DELETE /devices/{dev} wireguard deviceDelete
delete wireguard interface
*/.
DeviceDeleteDefault error
swagger:response deviceDeleteDefault
*/.
DeviceDeleteNoContent no content
swagger:response deviceDeleteNoContent
*/.
DeviceDeleteNotFound not found
swagger:response deviceDeleteNotFound
*/.
DeviceDeleteParams contains all the bound params for the device delete operation typically these are obtained from a http.Request
swagger:parameters DeviceDelete.
DeviceDeleteURL generates an URL for the device delete operation.
DeviceGet swagger:route GET /devices/{dev} wireguard deviceGet
get wireguard device details
*/.
DeviceGetDefault error
swagger:response deviceGetDefault
*/.
DeviceGetNotFound not found
swagger:response deviceGetNotFound
*/.
DeviceGetOK ok
swagger:response deviceGetOK
*/.
DeviceGetParams contains all the bound params for the device get operation typically these are obtained from a http.Request
swagger:parameters DeviceGet.
DeviceGetURL generates an URL for the device get operation.
DeviceList swagger:route GET /devices/ wireguard deviceList
get wireguard devices
*/.
DeviceListDefault error
swagger:response deviceListDefault
*/.
DeviceListOK ok
swagger:response deviceListOK
*/.
DeviceListParams contains all the bound params for the device list operation typically these are obtained from a http.Request
swagger:parameters DeviceList.
DeviceListURL generates an URL for the device list operation.
PeerCreate swagger:route POST /devices/{dev}/peers/ wireguard peerCreate
add peer to wireguard device
*/.
PeerCreateCreated created
swagger:response peerCreateCreated
*/.
PeerCreateDefault error
swagger:response peerCreateDefault
*/.
PeerCreateNotFound device not found
swagger:response peerCreateNotFound
*/.
PeerCreateParams contains all the bound params for the peer create operation typically these are obtained from a http.Request
swagger:parameters PeerCreate.
PeerCreateURL generates an URL for the peer create operation.
PeerDelete swagger:route DELETE /devices/{dev}/peers/{peer_id} wireguard peerDelete
delete wireguard's peer
*/.
PeerDeleteDefault error
swagger:response peerDeleteDefault
*/.
PeerDeleteNoContent no content
swagger:response peerDeleteNoContent
*/.
PeerDeleteNotFound not found
swagger:response peerDeleteNotFound
*/.
PeerDeleteParams contains all the bound params for the peer delete operation typically these are obtained from a http.Request
swagger:parameters PeerDelete.
PeerDeleteURL generates an URL for the peer delete operation.
PeerGet swagger:route GET /devices/{dev}/peers/{peer_id} wireguard peerGet
wireguard peer's detail
*/.
PeerGetDefault error
swagger:response peerGetDefault
*/.
PeerGetNotFound peer/device not found
swagger:response peerGetNotFound
*/.
PeerGetOK ok
swagger:response peerGetOK
*/.
PeerGetParams contains all the bound params for the peer get operation typically these are obtained from a http.Request
swagger:parameters PeerGet.
PeerGetURL generates an URL for the peer get operation.
PeerList swagger:route GET /devices/{dev}/peers/ wireguard peerList
get wireguard device's peers
*/.
PeerListDefault error
swagger:response peerListDefault
*/.
PeerListNotFound not found
swagger:response peerListNotFound
*/.
PeerListOK ok
swagger:response peerListOK
*/.
PeerListParams contains all the bound params for the peer list operation typically these are obtained from a http.Request
swagger:parameters PeerList.
PeerListURL generates an URL for the peer list operation.
# Interfaces
DeviceCreateHandler interface for that can handle valid device create params.
DeviceDeleteHandler interface for that can handle valid device delete params.
DeviceGetHandler interface for that can handle valid device get params.
DeviceListHandler interface for that can handle valid device list params.
PeerCreateHandler interface for that can handle valid peer create params.
PeerDeleteHandler interface for that can handle valid peer delete params.
PeerGetHandler interface for that can handle valid peer get params.
PeerListHandler interface for that can handle valid peer list params.
# Type aliases
DeviceCreateHandlerFunc turns a function with the right signature into a device create handler.
DeviceDeleteHandlerFunc turns a function with the right signature into a device delete handler.
DeviceGetHandlerFunc turns a function with the right signature into a device get handler.
DeviceListHandlerFunc turns a function with the right signature into a device list handler.
PeerCreateHandlerFunc turns a function with the right signature into a peer create handler.
PeerDeleteHandlerFunc turns a function with the right signature into a peer delete handler.
PeerGetHandlerFunc turns a function with the right signature into a peer get handler.
PeerListHandlerFunc turns a function with the right signature into a peer list handler.