[refactor] Merge Gateways implementation
This commit is contained in:
		@@ -4,7 +4,7 @@ import (
 | 
			
		||||
	"flag"
 | 
			
		||||
	"github.com/cyrilix/robocar-base/cli"
 | 
			
		||||
	"github.com/cyrilix/robocar-simulator/pkg/gateway"
 | 
			
		||||
	log"github.com/sirupsen/logrus"
 | 
			
		||||
	log "github.com/sirupsen/logrus"
 | 
			
		||||
	"os"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
@@ -39,7 +39,6 @@ func main() {
 | 
			
		||||
	}
 | 
			
		||||
	defer client.Disconnect(10)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
	c := gateway.New(gateway.NewMqttPublisher(client, topicFrame, "", ""), address)
 | 
			
		||||
	defer c.Stop()
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user