16 lines
331 B
Go
16 lines
331 B
Go
package infra
|
|
|
|
import (
|
|
"encoding/json"
|
|
|
|
"git.loafle.net/overflow/commons-go/core/util"
|
|
)
|
|
|
|
type InfraHost struct {
|
|
Infra
|
|
InfraOS *InfraOS `json:"os,omitempty"`
|
|
IP json.Number `json:"ip,omitempty"`
|
|
Mac json.Number `json:"mac,omitempty"`
|
|
CreateDate util.Timestamp `json:"createDate,omitempty"`
|
|
}
|