Skip to content

Commit

Permalink
Update struct.go, add instanceId to struct Instance
Browse files Browse the repository at this point in the history
  • Loading branch information
co-kevin committed May 24, 2018
1 parent 8bae72c commit 00f93bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions struct.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ type RegisterInstanceJson struct {

// Instance [de]serializeable [to|from] Eureka [XML|JSON].
type Instance struct {
InstanceId string `xml:"instanceId" json:"instanceId"`
HostName string `xml:"hostName" json:"hostName"`
App string `xml:"app" json:"app"`
IPAddr string `xml:"ipAddr" json:"ipAddr"`
Expand Down

0 comments on commit 00f93bd

Please sign in to comment.