signaller/main.go

21 lines
245 B
Go
Raw Normal View History

2019-07-18 14:10:43 +00:00
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())
}