aboutsummaryrefslogtreecommitdiff
path: root/connector
diff options
context:
space:
mode:
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{