예제 #1
0
파일: swdServer.go 프로젝트: johnnywww/swd
func main() {
	http.StartHttp(http.NewRouteHandle())

}
예제 #2
0
파일: route.go 프로젝트: johnnywww/swd
func StartHttp() {
	clientRouteHandle := &model.RouteHandles{Handles: []model.RouteHandle{&RouteRoot{}, &RouteLogin{}, &RouteLogout{}, &shttp.RouteNotFound{}, &shttp.RouteServerSetup{}, &RouteServer{}, &shttp.RouteUser{}}}
	shttp.StartHttp(clientRouteHandle)
}