18 lines
252 B
Go
18 lines
252 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()
|
|
time.Sleep(1000 * 1000 * 1000 * 1000)
|
|
}
|