aboutsummaryrefslogtreecommitdiff
path: root/appservice/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'appservice/server.go')
-rw-r--r--appservice/server.go11
1 files changed, 5 insertions, 6 deletions
diff --git a/appservice/server.go b/appservice/server.go
index 580d1f1..f207eb4 100644
--- a/appservice/server.go
+++ b/appservice/server.go
@@ -3,25 +3,24 @@ package appservice
import (
"encoding/json"
"fmt"
- "strings"
"net/http"
+ "strings"
"github.com/gorilla/mux"
log "github.com/sirupsen/logrus"
- "git.deuxfleurs.fr/Deuxfleurs/easybridge/mxlib"
"git.deuxfleurs.fr/Deuxfleurs/easybridge/connector"
+ "git.deuxfleurs.fr/Deuxfleurs/easybridge/mxlib"
)
type Config struct {
HttpBindAddr string
- Server string
- DbType string
- DbPath string
+ Server string
+ DbType string
+ DbPath string
MatrixDomain string
}
-
var registration *mxlib.Registration
var config *Config