dtm/main.go
2021-05-20 15:00:30 +08:00

19 lines
276 B
Go

package main
import (
"time"
"github.com/yedf/dtm/dtmsvr"
"github.com/yedf/dtm/examples"
)
type M = map[string]interface{}
func main() {
dtmsvr.LoadConfig()
go dtmsvr.StartSvr()
go examples.StartSvr()
examples.FireRequest()
time.Sleep(1000 * 1000 * 1000 * 1000)
}