mirror of
https://github.com/signaller-matrix/signaller.git
synced 2024-11-22 02:12:20 +00:00
Fix imports for new repo name
This commit is contained in:
parent
a3e878d677
commit
09e0f7243e
@ -1,6 +1,6 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import "github.com/nxshock/go-lightning/matrix"
|
import "github.com/nxshock/signaller/matrix"
|
||||||
|
|
||||||
type Backend interface {
|
type Backend interface {
|
||||||
Register(username, password, device string) (token string, error *matrix.ApiError)
|
Register(username, password, device string) (token string, error *matrix.ApiError)
|
||||||
|
@ -3,7 +3,7 @@ package main
|
|||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/nxshock/go-lightning/matrix"
|
"github.com/nxshock/signaller/matrix"
|
||||||
)
|
)
|
||||||
|
|
||||||
func errorResponse(w http.ResponseWriter, code matrix.ApiError, httpCode int, message string) {
|
func errorResponse(w http.ResponseWriter, code matrix.ApiError, httpCode int, message string) {
|
||||||
|
@ -8,7 +8,7 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/nxshock/go-lightning/matrix"
|
"github.com/nxshock/signaller/matrix"
|
||||||
)
|
)
|
||||||
|
|
||||||
func RootHandler(w http.ResponseWriter, r *http.Request) {
|
func RootHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
|
Loading…
Reference in New Issue
Block a user