aboutsummaryrefslogtreecommitdiff
path: root/connector
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-03-11 08:53:23 +0100
committerAlex Auvolat <alex@adnab.me>2020-03-11 08:53:23 +0100
commit6c118d651eda5f6a86066b1e84e352c71fc6342f (patch)
treef1ea4f1c012ef7f828a3768b473289ddcb79e734 /connector
parent15e3dc46cf485f6833e1d6a669a23abe43869ade (diff)
downloadeasybridge-6c118d651eda5f6a86066b1e84e352c71fc6342f.tar.gz
easybridge-6c118d651eda5f6a86066b1e84e352c71fc6342f.zip
Remove temporary test code
Diffstat (limited to 'connector')
-rw-r--r--connector/external/config.go18
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{