| 1 |
package client |
| 2 |
|
| 3 |
type Server struct { |
| 4 |
ClusterID string `json:"cluster_id"` |
| 5 |
ServerID string `json:"server_id"` |
| 6 |
Host string `json:"host"` |
| 7 |
Product string `json:"product"` |
| 8 |
Version string `json:"version"` |
| 9 |
} |
| 10 |
|
| 11 |
func (s Server) Path() string { |
| 12 |
return "/servers" |
| 13 |
} |