diff options
author | Alex Auvolat <alex@adnab.me> | 2020-03-11 08:53:23 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-03-11 08:53:23 +0100 |
commit | 6c118d651eda5f6a86066b1e84e352c71fc6342f (patch) | |
tree | f1ea4f1c012ef7f828a3768b473289ddcb79e734 /connector/external | |
parent | 15e3dc46cf485f6833e1d6a669a23abe43869ade (diff) | |
download | easybridge-6c118d651eda5f6a86066b1e84e352c71fc6342f.tar.gz easybridge-6c118d651eda5f6a86066b1e84e352c71fc6342f.zip |
Remove temporary test code
Diffstat (limited to 'connector/external')
-rw-r--r-- | connector/external/config.go | 18 |
1 files changed, 0 insertions, 18 deletions
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{ |