Exemple #1
0
func main() {
	http.StartHttp(http.NewRouteHandle())

}
Exemple #2
0
func StartHttp() {
	clientRouteHandle := &model.RouteHandles{Handles: []model.RouteHandle{&RouteRoot{}, &RouteLogin{}, &RouteLogout{}, &shttp.RouteNotFound{}, &shttp.RouteServerSetup{}, &RouteServer{}, &shttp.RouteUser{}}}
	shttp.StartHttp(clientRouteHandle)
}