This commit is contained in:
Adrian Zankich 2014-06-15 17:32:00 -07:00
parent dedc74f03d
commit 4d122c0540
2 changed files with 8 additions and 8 deletions

View File

@ -1,10 +1,10 @@
package gobot
type Adaptor struct {
Name string `json:"name"`
Port string `json:"port"`
Connected bool `json:"Connected"`
Params map[string]interface{} `json:"params"`
Name string
Port string
Connected bool
Params map[string]interface{}
}
type AdaptorInterface interface {

View File

@ -23,10 +23,10 @@ type JSONConnection struct {
}
type connection struct {
Name string `json:"-"`
Type string `json:"-"`
Adaptor AdaptorInterface `json:"-"`
Robot *Robot `json:"-"`
Name string
Type string
Adaptor AdaptorInterface
Robot *Robot
}
type connections []*connection