mirror of
https://github.com/status-im/consul.git
synced 2025-02-23 10:58:25 +00:00
Adding ServiceName to ServiceNode to simplify
This commit is contained in:
parent
e3ddf8fa00
commit
f3788b0472
@ -65,6 +65,7 @@ type ServiceNode struct {
|
||||
Node string
|
||||
Address string
|
||||
ServiceID string
|
||||
ServiceName string
|
||||
ServiceTag string
|
||||
ServicePort int
|
||||
}
|
||||
@ -85,7 +86,7 @@ type NodeService struct {
|
||||
}
|
||||
type NodeServices struct {
|
||||
Address string
|
||||
Services map[string]NodeService
|
||||
Services map[string]*NodeService
|
||||
}
|
||||
|
||||
// Decode is used to decode a MsgPack encoded object
|
||||
|
Loading…
x
Reference in New Issue
Block a user