mirror of
https://github.com/signaller-matrix/signaller.git
synced 2024-11-05 02:01:03 +00:00
21 lines
245 B
Go
21 lines
245 B
Go
package main
|
|
|
|
import (
|
|
"log"
|
|
)
|
|
|
|
var (
|
|
server *Server
|
|
)
|
|
|
|
func init() {
|
|
server = New()
|
|
server.Address = "localhost"
|
|
server.Backend = NewMemoryBackend()
|
|
server.Backend.Register("andrew", "1", "")
|
|
}
|
|
|
|
func main() {
|
|
log.Println(server.Run())
|
|
}
|