overflow_commons_go/modules/discovery/model/Service.go

18 lines
421 B
Go
Raw Normal View History

2017-12-04 06:30:56 +00:00
package model
import (
"encoding/json"
util "git.loafle.net/overflow/overflow_commons_go/util"
)
type Service struct {
Port *Port `json:"port,omitempty"`
ID json.Number `json:"id,Number,omitempty"`
CryptoType string `json:"cryptoType,omitempty"`
ServiceName string `json:"serviceName,omitempty"`
DiscoveredDate util.Timestamp `json:"discoveredDate,omitempty"`
}