package gobot // Adaptor is the interface that describes an adaptor in gobot type Adaptor interface { // Name returns the label for the Adaptor Name() string // SetName sets the label for the Adaptor SetName(n string) // Connect initiates the Adaptor Connect() []error // Finalize terminates the Adaptor Finalize() []error } // Porter is the interface that describes an adaptor's port type Porter interface { Port() string }