initial commit
This commit is contained in:
29
handlers/transit.go
Normal file
29
handlers/transit.go
Normal file
@@ -0,0 +1,29 @@
|
||||
package handlers
|
||||
|
||||
// import (
|
||||
// "sync"
|
||||
// "time"
|
||||
//
|
||||
// "git.coopgo.io/coopgo-platform/multimodal-routing/libs/transit"
|
||||
// "github.com/paulmach/orb/geojson"
|
||||
// "github.com/spf13/viper"
|
||||
// )
|
||||
//
|
||||
// type TransitHandler struct {
|
||||
// Routing *transit.TransitRouting
|
||||
// }
|
||||
//
|
||||
// func NewTransitHandler(cfg *viper.Viper) (*TransitHandler, error) {
|
||||
// routing, err := transit.NewTransitRouting(cfg)
|
||||
// if err != nil {
|
||||
// return nil, err
|
||||
// }
|
||||
// return &TransitHandler{
|
||||
// Routing: routing,
|
||||
// }, nil
|
||||
// }
|
||||
//
|
||||
// func (h TransitHandler) Search(results chan *geojson.FeatureCollection, wg *sync.WaitGroup, departure geojson.Feature, destination geojson.Feature, departureDate time.Time) error {
|
||||
// defer wg.Done()
|
||||
// return nil
|
||||
// }
|
||||
Reference in New Issue
Block a user