commons-go/discovery/model/Service.go
crusader 796da7bbfe ing
2018-04-12 18:38:04 +09:00

18 lines
385 B
Go

package model
import (
"encoding/json"
"git.loafle.net/overflow/commons-go/core/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"`
}