Change receiver to handler, breaking change, grrr

This commit is contained in:
Asim
2015-06-03 01:25:37 +01:00
parent 8cdc2b5f82
commit cdf2f2cbcd
13 changed files with 325 additions and 144 deletions

View File

@@ -12,19 +12,6 @@ type Watcher interface {
Stop()
}
type Service struct {
Name string
Metadata map[string]string
Nodes []*Node
}
type Node struct {
Id string
Address string
Port int
Metadata map[string]string
}
type options struct{}
type Option func(*options)