overflow_commons_go/modules/discovery/model/Service.go

17 lines
462 B
Go
Raw Normal View History

2017-11-08 09:50:44 +00:00
package model
import (
"encoding/json"
2017-12-01 06:04:31 +00:00
util "git.loafle.net/overflow/overflow_commons_go/util"
2017-11-08 09:50:44 +00:00
)
type Service struct {
2017-12-01 06:04:31 +00:00
ID json.Number `json:"id,Number,omitempty"`
Port *Port `json:"port,omitempty"`
PortType string `json:"portType,omitempty"`
ServiceName string `json:"serviceName,omitempty"`
UpdateDate util.Timestamp `json:"updateDate,omitempty"`
Target bool `json:"target,omitempty"`
}