Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPHandler ¶
type IPHandler struct {
Controller controllers.IPController
}
func (IPHandler) CreateIP ¶
CreateIP handles POST requests to create a new IP address.
POST /api/v1/ip
func (IPHandler) DeleteIP ¶
DeleteIP handles DELETE requests to remove an IP address by its UUID.
DELETE /api/v1/ip/<id: uuid>
func (IPHandler) GetIPAddrs ¶
GetIPAddrs handles GET requests to fetch all IP addresses.
GET /api/v1/ips
Click to show internal directories.
Click to hide internal directories.