initial commit 2
This commit is contained in:
12
domain/contract/tnc.go
Normal file
12
domain/contract/tnc.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package contract
|
||||
|
||||
type tncManager interface {
|
||||
TNC() TNCManager
|
||||
}
|
||||
|
||||
//TNCManager defines the integration with any TNC
|
||||
type TNCManager interface {
|
||||
GetETA(lag float64, log float64, params map[string]interface{}) (interface{}, error)
|
||||
GetDrivers(lag float64, log float64) (interface{}, error)
|
||||
GetTypes(lag float64, log float64, params map[string]interface{}) (interface{}, error)
|
||||
}
|
||||
Reference in New Issue
Block a user