Change initialisation and add metadata

This commit is contained in:
Asim
2015-05-26 22:39:48 +01:00
parent 7aa2c82ced
commit 36b5ca46fe
16 changed files with 182 additions and 93 deletions

View File

@@ -9,7 +9,7 @@ type Registry interface {
type Service struct {
Name string
MetaData map[string]string
Metadata map[string]string
Nodes []*Node
}
@@ -17,7 +17,7 @@ type Node struct {
Id string
Address string
Port int
MetaData map[string]string
Metadata map[string]string
}
type options struct{}