overflow_commons_go/modules/discovery/model/Service.go
2017-11-08 18:50:44 +09:00

17 lines
451 B
Go

package model
import (
"git.loafle.net/overflow/overflow_commons_go/modules/timestamp/model"
"encoding/json"
)
type Service struct {
Id json.Number `json:"id,Number,omitempty"`
Port *Port `json:"port,omitempty"`
PortType string `json:"portType,omitempty"`
ServiceName string `json:"serviceName,omitempty"`
UpdateDate timestamp.Timestamp `json:"updateDate,omitempty"`
Target bool `json:"target,omitempty"`
}