overflow_commons_go/modules/discovery/model/Service.go

17 lines
451 B
Go
Raw Normal View History

2017-11-08 09:50:44 +00:00
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"`
}