Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkInterface ¶
type NetworkInterface struct { Name string `json:"name"` IPAddress string `json:"ipAddress"` MACAddress string `json:"macAddress"` }
NetworkInterface represents a network interface on a server, including its IP and MAC addresses.
type RegistrationPayload ¶
RegistrationPayload represents the payload to send to the `/register` endpoint, including the systemUUID and the server details.
type Server ¶
type Server struct {
NetworkInterfaces []NetworkInterface `json:"networkInterfaces,omitempty"`
}
Server represents a server with a list of network interfaces.
Click to show internal directories.
Click to hide internal directories.