fixed mntx discovery
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package discovery
|
||||
|
||||
import "github.com/tech/sendico/pkg/mservice"
|
||||
|
||||
type HealthParams struct {
|
||||
IntervalSec int `json:"intervalSec"`
|
||||
TimeoutSec int `json:"timeoutSec"`
|
||||
@@ -103,7 +105,7 @@ type CurrencyAnnouncement struct {
|
||||
type Announcement struct {
|
||||
ID string `json:"id"`
|
||||
InstanceID string `bson:"instanceId" json:"instanceId"`
|
||||
Service string `json:"service"`
|
||||
Service mservice.Type `json:"service"`
|
||||
Rail string `json:"rail,omitempty"`
|
||||
Operations []string `json:"operations,omitempty"`
|
||||
Currencies []CurrencyAnnouncement `json:"currencies,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user