From 6c118d651eda5f6a86066b1e84e352c71fc6342f Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 11 Mar 2020 08:53:23 +0100 Subject: Remove temporary test code --- connector/external/config.go | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'connector') diff --git a/connector/external/config.go b/connector/external/config.go index 9c8e123..ae3cbdb 100644 --- a/connector/external/config.go +++ b/connector/external/config.go @@ -6,27 +6,9 @@ import ( . "git.deuxfleurs.fr/Deuxfleurs/easybridge/connector" ) -const DUMMYEXT_PROTOCOL = "DummyExt" const MESSENGER_PROTOCOL = "Messenger" func init() { - Register(DUMMYEXT_PROTOCOL, Protocol{ - NewConnector: func() Connector { - return &External{ - protocol: DUMMYEXT_PROTOCOL, - command: "./external/dummy.py", - debug: true, - } - }, - Schema: ConfigSchema{ - &ConfigEntry{ - Name: "user", - Description: "Username", - Required: true, - }, - }, - }) - Register(MESSENGER_PROTOCOL, Protocol{ NewConnector: func() Connector { return &External{ -- cgit v1.2.3