Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONMarshalIndent ¶
JSONMarshalIndent call json.MarshalIndent and replace encoded angle brackets
Types ¶
type Host ¶
type Host struct {
ID string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
DisplayName string `json:"displayName,omitempty"`
Status string `json:"status,omitempty"`
Memo string `json:"memo,omitempty"`
RoleFullnames []string `json:"roleFullnames,omitempty"`
IsRetired bool `json:"isRetired"` // 'omitempty' regard boolean 'false' as empty.
CreatedAt string `json:"createdAt,omitempty"`
IPAddresses map[string]string `json:"ipAddresses,omitempty"`
}
Host defines output json structure.
Click to show internal directories.
Click to hide internal directories.