initial commit 2

This commit is contained in:
Senad Uka
2018-04-25 13:16:36 +02:00
parent c1520d169c
commit 99c10b75fb
167 changed files with 25057 additions and 0 deletions

12
domain/contract/tnc.go Normal file
View 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)
}