signaller/main.go
2019-07-18 19:10:43 +05:00

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())
}