Documentation ¶
Index ¶
- type ActionResource
- type Controller
- type ControllerInterface
- func NewImportController(referential *core.Referential) ControllerInterface
- func NewLineController(referential *core.Referential) ControllerInterface
- func NewLineGroupsController(referential *core.Referential) ControllerInterface
- func NewOperatorController(referential *core.Referential) ControllerInterface
- func NewPartnerController(referential *core.Referential) ControllerInterface
- func NewReferentialController(server *Server) ControllerInterface
- func NewScheduledStopVisitController(referential *core.Referential) ControllerInterface
- func NewSituationController(referential *core.Referential) ControllerInterface
- func NewStatusController(server *Server) ControllerInterface
- func NewStopAreaController(referential *core.Referential) ControllerInterface
- func NewStopAreaGroupsController(referential *core.Referential) ControllerInterface
- func NewStopVisitController(referential *core.Referential) ControllerInterface
- func NewTimeController(server *Server) ControllerInterface
- func NewVehicleController(referential *core.Referential) ControllerInterface
- func NewVehicleJourneyController(referential *core.Referential) ControllerInterface
- type GraphqlHandler
- type GtfsHandler
- type HandlerParams
- type ImportController
- type ImportRequest
- type LineController
- func (controller *LineController) Create(response http.ResponseWriter, body []byte)
- func (controller *LineController) Delete(response http.ResponseWriter, identifier string)
- func (controller *LineController) Index(response http.ResponseWriter, filters url.Values)
- func (controller *LineController) Show(response http.ResponseWriter, identifier string)
- func (controller *LineController) Update(response http.ResponseWriter, identifier string, body []byte)
- type LineGroupsController
- func (controller *LineGroupsController) Create(response http.ResponseWriter, body []byte)
- func (controller *LineGroupsController) Delete(response http.ResponseWriter, identifier string)
- func (controller *LineGroupsController) Index(response http.ResponseWriter, filters url.Values)
- func (controller *LineGroupsController) Show(response http.ResponseWriter, identifier string)
- func (controller *LineGroupsController) Update(response http.ResponseWriter, identifier string, body []byte)
- type OperatorController
- func (controller *OperatorController) Create(response http.ResponseWriter, body []byte)
- func (controller *OperatorController) Delete(response http.ResponseWriter, identifier string)
- func (controller *OperatorController) Index(response http.ResponseWriter, filters url.Values)
- func (controller *OperatorController) Show(response http.ResponseWriter, identifier string)
- func (controller *OperatorController) Update(response http.ResponseWriter, identifier string, body []byte)
- type PartnerController
- func (controller *PartnerController) Action(response http.ResponseWriter, requestData *RequestData)
- func (controller *PartnerController) Create(response http.ResponseWriter, body []byte)
- func (controller *PartnerController) Delete(response http.ResponseWriter, identifier string)
- func (controller *PartnerController) Index(response http.ResponseWriter, filters url.Values)
- func (controller *PartnerController) Save(response http.ResponseWriter)
- func (controller *PartnerController) Show(response http.ResponseWriter, identifier string)
- func (controller *PartnerController) Update(response http.ResponseWriter, identifier string, body []byte)
- type PushHandler
- type ReferentialController
- func (controller *ReferentialController) Action(response http.ResponseWriter, requestData *RequestData)
- func (controller *ReferentialController) Create(response http.ResponseWriter, body []byte)
- func (controller *ReferentialController) Delete(response http.ResponseWriter, identifier string)
- func (controller *ReferentialController) Index(response http.ResponseWriter, filters url.Values)
- func (controller *ReferentialController) Save(response http.ResponseWriter)
- func (controller *ReferentialController) Show(response http.ResponseWriter, identifier string)
- func (controller *ReferentialController) Update(response http.ResponseWriter, identifier string, body []byte)
- type RequestData
- type RestfulResource
- type SIRICheckStatusRequestHandler
- type SIRIDeleteSubscriptionRequestHandler
- type SIRIError
- type SIRIEstimatedTimetableRequestDeliveriesResponseHandler
- type SIRIEstimatedTimetableRequestHandler
- type SIRIGeneralMessageRequestDeliveriesResponseHandler
- type SIRIGeneralMessageRequestHandler
- type SIRIHandler
- type SIRILinesDiscoveryRequestHandler
- type SIRILiteHandler
- type SIRILiteRequestHandler
- type SIRILiteVehicleMonitoringRequestHandler
- type SIRINotifySubscriptionTerminatedHandler
- type SIRIRequestData
- type SIRIRequestHandler
- type SIRIServiceRequestHandler
- type SIRISituationExchangeDeliveriesResponseHandler
- type SIRISituationExchangeRequestHandler
- type SIRIStopDiscoveryRequestHandler
- type SIRIStopMonitoringRequestDeliveriesResponseHandler
- type SIRIStopMonitoringRequestHandler
- type SIRISubscribeRequestHandler
- type SIRISubscriptionTerminatedNotificationHandler
- type SIRIVehicleMonitoringRequestDeliveriesResponseHandler
- type SIRIVehicleMonitoringRequestHandler
- type Savable
- type Server
- type SituationController
- func (controller *SituationController) Create(response http.ResponseWriter, body []byte)
- func (controller *SituationController) Delete(response http.ResponseWriter, identifier string)
- func (controller *SituationController) Index(response http.ResponseWriter, filters url.Values)
- func (controller *SituationController) Show(response http.ResponseWriter, identifier string)
- func (controller *SituationController) Update(response http.ResponseWriter, identifier string, body []byte)
- type Status
- type StatusController
- type StopAreaController
- func (controller *StopAreaController) Create(response http.ResponseWriter, body []byte)
- func (controller *StopAreaController) Delete(response http.ResponseWriter, identifier string)
- func (controller *StopAreaController) Index(response http.ResponseWriter, filters url.Values)
- func (controller *StopAreaController) Show(response http.ResponseWriter, identifier string)
- func (controller *StopAreaController) Update(response http.ResponseWriter, identifier string, body []byte)
- type StopAreaGroupsController
- func (controller *StopAreaGroupsController) Create(response http.ResponseWriter, body []byte)
- func (controller *StopAreaGroupsController) Delete(response http.ResponseWriter, identifier string)
- func (controller *StopAreaGroupsController) Index(response http.ResponseWriter, filters url.Values)
- func (controller *StopAreaGroupsController) Show(response http.ResponseWriter, identifier string)
- func (controller *StopAreaGroupsController) Update(response http.ResponseWriter, identifier string, body []byte)
- type StopVisitController
- func (controller *StopVisitController) Create(response http.ResponseWriter, body []byte)
- func (controller *StopVisitController) Delete(response http.ResponseWriter, identifier string)
- func (controller *StopVisitController) Index(response http.ResponseWriter, filters url.Values)
- func (controller *StopVisitController) Show(response http.ResponseWriter, identifier string)
- func (controller *StopVisitController) Update(response http.ResponseWriter, identifier string, body []byte)
- type TimeController
- type VehicleController
- func (controller *VehicleController) Create(response http.ResponseWriter, body []byte)
- func (controller *VehicleController) Delete(response http.ResponseWriter, identifier string)
- func (controller *VehicleController) Index(response http.ResponseWriter, filters url.Values)
- func (controller *VehicleController) Show(response http.ResponseWriter, identifier string)
- func (controller *VehicleController) Update(response http.ResponseWriter, identifier string, body []byte)
- type VehicleJourneyController
- func (controller *VehicleJourneyController) Create(response http.ResponseWriter, body []byte)
- func (controller *VehicleJourneyController) Delete(response http.ResponseWriter, identifier string)
- func (controller *VehicleJourneyController) Index(response http.ResponseWriter, filters url.Values)
- func (controller *VehicleJourneyController) Show(response http.ResponseWriter, identifier string)
- func (controller *VehicleJourneyController) Update(response http.ResponseWriter, identifier string, body []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionResource ¶
type ActionResource interface {
Action(response http.ResponseWriter, requestData *RequestData)
}
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
type ControllerInterface ¶
type ControllerInterface interface {
// contains filtered or unexported methods
}
func NewImportController ¶
func NewImportController(referential *core.Referential) ControllerInterface
func NewLineController ¶
func NewLineController(referential *core.Referential) ControllerInterface
func NewLineGroupsController ¶
func NewLineGroupsController(referential *core.Referential) ControllerInterface
func NewOperatorController ¶
func NewOperatorController(referential *core.Referential) ControllerInterface
func NewPartnerController ¶
func NewPartnerController(referential *core.Referential) ControllerInterface
func NewReferentialController ¶
func NewReferentialController(server *Server) ControllerInterface
func NewScheduledStopVisitController ¶
func NewScheduledStopVisitController(referential *core.Referential) ControllerInterface
func NewSituationController ¶
func NewSituationController(referential *core.Referential) ControllerInterface
func NewStatusController ¶
func NewStatusController(server *Server) ControllerInterface
func NewStopAreaController ¶
func NewStopAreaController(referential *core.Referential) ControllerInterface
func NewStopAreaGroupsController ¶
func NewStopAreaGroupsController(referential *core.Referential) ControllerInterface
func NewStopVisitController ¶
func NewStopVisitController(referential *core.Referential) ControllerInterface
func NewTimeController ¶
func NewTimeController(server *Server) ControllerInterface
func NewVehicleController ¶
func NewVehicleController(referential *core.Referential) ControllerInterface
func NewVehicleJourneyController ¶
func NewVehicleJourneyController(referential *core.Referential) ControllerInterface
type GraphqlHandler ¶
type GraphqlHandler struct { rah.RemoteAddressHandler // contains filtered or unexported fields }
func NewGraphqlHandler ¶
func NewGraphqlHandler(referential *core.Referential, token string) *GraphqlHandler
type GtfsHandler ¶
type GtfsHandler struct { rah.RemoteAddressHandler // contains filtered or unexported fields }
func NewGtfsHandler ¶
func NewGtfsHandler(referential *core.Referential, token string) *GtfsHandler
type HandlerParams ¶
type HandlerParams struct {
// contains filtered or unexported fields
}
type ImportController ¶
type ImportController struct {
// contains filtered or unexported fields
}
type ImportRequest ¶
type ImportRequest struct {
Force bool
}
type LineController ¶
type LineController struct {
// contains filtered or unexported fields
}
func (*LineController) Create ¶
func (controller *LineController) Create(response http.ResponseWriter, body []byte)
func (*LineController) Delete ¶
func (controller *LineController) Delete(response http.ResponseWriter, identifier string)
func (*LineController) Index ¶
func (controller *LineController) Index(response http.ResponseWriter, filters url.Values)
func (*LineController) Show ¶
func (controller *LineController) Show(response http.ResponseWriter, identifier string)
func (*LineController) Update ¶
func (controller *LineController) Update(response http.ResponseWriter, identifier string, body []byte)
type LineGroupsController ¶
type LineGroupsController struct {
// contains filtered or unexported fields
}
func (*LineGroupsController) Create ¶
func (controller *LineGroupsController) Create(response http.ResponseWriter, body []byte)
func (*LineGroupsController) Delete ¶
func (controller *LineGroupsController) Delete(response http.ResponseWriter, identifier string)
func (*LineGroupsController) Index ¶
func (controller *LineGroupsController) Index(response http.ResponseWriter, filters url.Values)
func (*LineGroupsController) Show ¶
func (controller *LineGroupsController) Show(response http.ResponseWriter, identifier string)
func (*LineGroupsController) Update ¶
func (controller *LineGroupsController) Update(response http.ResponseWriter, identifier string, body []byte)
type OperatorController ¶
type OperatorController struct {
// contains filtered or unexported fields
}
func (*OperatorController) Create ¶
func (controller *OperatorController) Create(response http.ResponseWriter, body []byte)
func (*OperatorController) Delete ¶
func (controller *OperatorController) Delete(response http.ResponseWriter, identifier string)
func (*OperatorController) Index ¶
func (controller *OperatorController) Index(response http.ResponseWriter, filters url.Values)
func (*OperatorController) Show ¶
func (controller *OperatorController) Show(response http.ResponseWriter, identifier string)
func (*OperatorController) Update ¶
func (controller *OperatorController) Update(response http.ResponseWriter, identifier string, body []byte)
type PartnerController ¶
type PartnerController struct {
// contains filtered or unexported fields
}
func (*PartnerController) Action ¶
func (controller *PartnerController) Action(response http.ResponseWriter, requestData *RequestData)
func (*PartnerController) Create ¶
func (controller *PartnerController) Create(response http.ResponseWriter, body []byte)
func (*PartnerController) Delete ¶
func (controller *PartnerController) Delete(response http.ResponseWriter, identifier string)
func (*PartnerController) Index ¶
func (controller *PartnerController) Index(response http.ResponseWriter, filters url.Values)
func (*PartnerController) Save ¶
func (controller *PartnerController) Save(response http.ResponseWriter)
func (*PartnerController) Show ¶
func (controller *PartnerController) Show(response http.ResponseWriter, identifier string)
func (*PartnerController) Update ¶
func (controller *PartnerController) Update(response http.ResponseWriter, identifier string, body []byte)
type PushHandler ¶
type PushHandler struct { rah.RemoteAddressHandler // contains filtered or unexported fields }
func NewPushHandler ¶
func NewPushHandler(referential *core.Referential, token string) *PushHandler
type ReferentialController ¶
type ReferentialController struct {
// contains filtered or unexported fields
}
func (*ReferentialController) Action ¶
func (controller *ReferentialController) Action(response http.ResponseWriter, requestData *RequestData)
func (*ReferentialController) Create ¶
func (controller *ReferentialController) Create(response http.ResponseWriter, body []byte)
func (*ReferentialController) Delete ¶
func (controller *ReferentialController) Delete(response http.ResponseWriter, identifier string)
func (*ReferentialController) Index ¶
func (controller *ReferentialController) Index(response http.ResponseWriter, filters url.Values)
func (*ReferentialController) Save ¶
func (controller *ReferentialController) Save(response http.ResponseWriter)
func (*ReferentialController) Show ¶
func (controller *ReferentialController) Show(response http.ResponseWriter, identifier string)
func (*ReferentialController) Update ¶
func (controller *ReferentialController) Update(response http.ResponseWriter, identifier string, body []byte)
type RequestData ¶
type RequestData struct { Filters url.Values Body []byte Method string Referential string Resource string Id string Action string Url string }
func NewRequestDataFromContent ¶
func NewRequestDataFromContent(params []string) *RequestData
type RestfulResource ¶
type RestfulResource interface { Index(response http.ResponseWriter, filters url.Values) Show(response http.ResponseWriter, identifier string) Delete(response http.ResponseWriter, identifier string) Update(response http.ResponseWriter, identifier string, body []byte) Create(response http.ResponseWriter, body []byte) }
type SIRICheckStatusRequestHandler ¶
type SIRICheckStatusRequestHandler struct {
// contains filtered or unexported fields
}
func (*SIRICheckStatusRequestHandler) ConnectorType ¶
func (handler *SIRICheckStatusRequestHandler) ConnectorType() string
func (*SIRICheckStatusRequestHandler) RequestorRef ¶
func (handler *SIRICheckStatusRequestHandler) RequestorRef() string
func (*SIRICheckStatusRequestHandler) Respond ¶
func (handler *SIRICheckStatusRequestHandler) Respond(params HandlerParams)
type SIRIDeleteSubscriptionRequestHandler ¶
type SIRIDeleteSubscriptionRequestHandler struct {
// contains filtered or unexported fields
}
func (*SIRIDeleteSubscriptionRequestHandler) ConnectorType ¶
func (handler *SIRIDeleteSubscriptionRequestHandler) ConnectorType() string
func (*SIRIDeleteSubscriptionRequestHandler) RequestorRef ¶
func (handler *SIRIDeleteSubscriptionRequestHandler) RequestorRef() string
func (*SIRIDeleteSubscriptionRequestHandler) Respond ¶
func (handler *SIRIDeleteSubscriptionRequestHandler) Respond(params HandlerParams)
type SIRIEstimatedTimetableRequestDeliveriesResponseHandler ¶
type SIRIEstimatedTimetableRequestDeliveriesResponseHandler struct {
// contains filtered or unexported fields
}
func (*SIRIEstimatedTimetableRequestDeliveriesResponseHandler) ConnectorType ¶
func (handler *SIRIEstimatedTimetableRequestDeliveriesResponseHandler) ConnectorType() string
func (*SIRIEstimatedTimetableRequestDeliveriesResponseHandler) RequestorRef ¶
func (handler *SIRIEstimatedTimetableRequestDeliveriesResponseHandler) RequestorRef() string
func (*SIRIEstimatedTimetableRequestDeliveriesResponseHandler) Respond ¶
func (handler *SIRIEstimatedTimetableRequestDeliveriesResponseHandler) Respond(params HandlerParams)
type SIRIEstimatedTimetableRequestHandler ¶
type SIRIEstimatedTimetableRequestHandler struct {
// contains filtered or unexported fields
}
func (*SIRIEstimatedTimetableRequestHandler) ConnectorType ¶
func (handler *SIRIEstimatedTimetableRequestHandler) ConnectorType() string
func (*SIRIEstimatedTimetableRequestHandler) RequestorRef ¶
func (handler *SIRIEstimatedTimetableRequestHandler) RequestorRef() string
func (*SIRIEstimatedTimetableRequestHandler) Respond ¶
func (handler *SIRIEstimatedTimetableRequestHandler) Respond(params HandlerParams)
type SIRIGeneralMessageRequestDeliveriesResponseHandler ¶
type SIRIGeneralMessageRequestDeliveriesResponseHandler struct {
// contains filtered or unexported fields
}
func (*SIRIGeneralMessageRequestDeliveriesResponseHandler) ConnectorType ¶
func (handler *SIRIGeneralMessageRequestDeliveriesResponseHandler) ConnectorType() string
func (*SIRIGeneralMessageRequestDeliveriesResponseHandler) RequestorRef ¶
func (handler *SIRIGeneralMessageRequestDeliveriesResponseHandler) RequestorRef() string
func (*SIRIGeneralMessageRequestDeliveriesResponseHandler) Respond ¶
func (handler *SIRIGeneralMessageRequestDeliveriesResponseHandler) Respond(params HandlerParams)
type SIRIGeneralMessageRequestHandler ¶
type SIRIGeneralMessageRequestHandler struct {
// contains filtered or unexported fields
}
func (*SIRIGeneralMessageRequestHandler) ConnectorType ¶
func (handler *SIRIGeneralMessageRequestHandler) ConnectorType() string
func (*SIRIGeneralMessageRequestHandler) RequestorRef ¶
func (handler *SIRIGeneralMessageRequestHandler) RequestorRef() string
func (*SIRIGeneralMessageRequestHandler) Respond ¶
func (handler *SIRIGeneralMessageRequestHandler) Respond(params HandlerParams)
type SIRIHandler ¶
type SIRIHandler struct { rah.RemoteAddressHandler // contains filtered or unexported fields }
func NewSIRIHandler ¶
func NewSIRIHandler(referential *core.Referential) *SIRIHandler
type SIRILinesDiscoveryRequestHandler ¶
type SIRILinesDiscoveryRequestHandler struct {
// contains filtered or unexported fields
}
func (*SIRILinesDiscoveryRequestHandler) ConnectorType ¶
func (handler *SIRILinesDiscoveryRequestHandler) ConnectorType() string
func (*SIRILinesDiscoveryRequestHandler) RequestorRef ¶
func (handler *SIRILinesDiscoveryRequestHandler) RequestorRef() string
func (*SIRILinesDiscoveryRequestHandler) Respond ¶
func (handler *SIRILinesDiscoveryRequestHandler) Respond(params HandlerParams)
type SIRILiteHandler ¶
type SIRILiteHandler struct { rah.RemoteAddressHandler // contains filtered or unexported fields }
func NewSIRILiteHandler ¶
func NewSIRILiteHandler(referential *core.Referential, token string) *SIRILiteHandler
type SIRILiteRequestHandler ¶
type SIRILiteRequestHandler interface { ConnectorType() string Respond(core.Connector, http.ResponseWriter, *audit.BigQueryMessage) }
type SIRILiteVehicleMonitoringRequestHandler ¶
type SIRILiteVehicleMonitoringRequestHandler struct {
// contains filtered or unexported fields
}
func (*SIRILiteVehicleMonitoringRequestHandler) ConnectorType ¶
func (handler *SIRILiteVehicleMonitoringRequestHandler) ConnectorType() string
func (*SIRILiteVehicleMonitoringRequestHandler) Respond ¶
func (handler *SIRILiteVehicleMonitoringRequestHandler) Respond(connector core.Connector, rw http.ResponseWriter, message *audit.BigQueryMessage)
type SIRINotifySubscriptionTerminatedHandler ¶
type SIRINotifySubscriptionTerminatedHandler struct {
// contains filtered or unexported fields
}
func (*SIRINotifySubscriptionTerminatedHandler) ConnectorType ¶
func (handler *SIRINotifySubscriptionTerminatedHandler) ConnectorType() string
func (*SIRINotifySubscriptionTerminatedHandler) RequestorRef ¶
func (handler *SIRINotifySubscriptionTerminatedHandler) RequestorRef() string
func (*SIRINotifySubscriptionTerminatedHandler) Respond ¶
func (handler *SIRINotifySubscriptionTerminatedHandler) Respond(params HandlerParams)
type SIRIRequestData ¶
func NewSIRIRequestDataFromContent ¶
func NewSIRIRequestDataFromContent(params []string) (*SIRIRequestData, bool)
type SIRIRequestHandler ¶
type SIRIRequestHandler interface { RequestorRef() string ConnectorType() string Respond(HandlerParams) }
type SIRIServiceRequestHandler ¶
type SIRIServiceRequestHandler struct {
// contains filtered or unexported fields
}
func (*SIRIServiceRequestHandler) ConnectorType ¶
func (handler *SIRIServiceRequestHandler) ConnectorType() string
func (*SIRIServiceRequestHandler) RequestorRef ¶
func (handler *SIRIServiceRequestHandler) RequestorRef() string
func (*SIRIServiceRequestHandler) Respond ¶
func (handler *SIRIServiceRequestHandler) Respond(params HandlerParams)
type SIRISituationExchangeDeliveriesResponseHandler ¶
type SIRISituationExchangeDeliveriesResponseHandler struct {
// contains filtered or unexported fields
}
func (*SIRISituationExchangeDeliveriesResponseHandler) ConnectorType ¶
func (handler *SIRISituationExchangeDeliveriesResponseHandler) ConnectorType() string
func (*SIRISituationExchangeDeliveriesResponseHandler) RequestorRef ¶
func (handler *SIRISituationExchangeDeliveriesResponseHandler) RequestorRef() string
func (*SIRISituationExchangeDeliveriesResponseHandler) Respond ¶
func (handler *SIRISituationExchangeDeliveriesResponseHandler) Respond(params HandlerParams)
type SIRISituationExchangeRequestHandler ¶
type SIRISituationExchangeRequestHandler struct {
// contains filtered or unexported fields
}
func (*SIRISituationExchangeRequestHandler) ConnectorType ¶
func (handler *SIRISituationExchangeRequestHandler) ConnectorType() string
func (*SIRISituationExchangeRequestHandler) RequestorRef ¶
func (handler *SIRISituationExchangeRequestHandler) RequestorRef() string
func (*SIRISituationExchangeRequestHandler) Respond ¶
func (handler *SIRISituationExchangeRequestHandler) Respond(params HandlerParams)
type SIRIStopDiscoveryRequestHandler ¶
type SIRIStopDiscoveryRequestHandler struct {
// contains filtered or unexported fields
}
func (*SIRIStopDiscoveryRequestHandler) ConnectorType ¶
func (handler *SIRIStopDiscoveryRequestHandler) ConnectorType() string
func (*SIRIStopDiscoveryRequestHandler) RequestorRef ¶
func (handler *SIRIStopDiscoveryRequestHandler) RequestorRef() string
func (*SIRIStopDiscoveryRequestHandler) Respond ¶
func (handler *SIRIStopDiscoveryRequestHandler) Respond(params HandlerParams)
type SIRIStopMonitoringRequestDeliveriesResponseHandler ¶
type SIRIStopMonitoringRequestDeliveriesResponseHandler struct {
// contains filtered or unexported fields
}
func (*SIRIStopMonitoringRequestDeliveriesResponseHandler) ConnectorType ¶
func (handler *SIRIStopMonitoringRequestDeliveriesResponseHandler) ConnectorType() string
func (*SIRIStopMonitoringRequestDeliveriesResponseHandler) RequestorRef ¶
func (handler *SIRIStopMonitoringRequestDeliveriesResponseHandler) RequestorRef() string
func (*SIRIStopMonitoringRequestDeliveriesResponseHandler) Respond ¶
func (handler *SIRIStopMonitoringRequestDeliveriesResponseHandler) Respond(params HandlerParams)
type SIRIStopMonitoringRequestHandler ¶
type SIRIStopMonitoringRequestHandler struct {
// contains filtered or unexported fields
}
func (*SIRIStopMonitoringRequestHandler) ConnectorType ¶
func (handler *SIRIStopMonitoringRequestHandler) ConnectorType() string
func (*SIRIStopMonitoringRequestHandler) RequestorRef ¶
func (handler *SIRIStopMonitoringRequestHandler) RequestorRef() string
func (*SIRIStopMonitoringRequestHandler) Respond ¶
func (handler *SIRIStopMonitoringRequestHandler) Respond(params HandlerParams)
type SIRISubscribeRequestHandler ¶
type SIRISubscribeRequestHandler struct {
// contains filtered or unexported fields
}
func (*SIRISubscribeRequestHandler) ConnectorType ¶
func (handler *SIRISubscribeRequestHandler) ConnectorType() string
func (*SIRISubscribeRequestHandler) RequestorRef ¶
func (handler *SIRISubscribeRequestHandler) RequestorRef() string
func (*SIRISubscribeRequestHandler) Respond ¶
func (handler *SIRISubscribeRequestHandler) Respond(params HandlerParams)
type SIRISubscriptionTerminatedNotificationHandler ¶
type SIRISubscriptionTerminatedNotificationHandler struct {
// contains filtered or unexported fields
}
func (*SIRISubscriptionTerminatedNotificationHandler) ConnectorType ¶
func (handler *SIRISubscriptionTerminatedNotificationHandler) ConnectorType() string
func (*SIRISubscriptionTerminatedNotificationHandler) RequestorRef ¶
func (handler *SIRISubscriptionTerminatedNotificationHandler) RequestorRef() string
func (*SIRISubscriptionTerminatedNotificationHandler) Respond ¶
func (handler *SIRISubscriptionTerminatedNotificationHandler) Respond(params HandlerParams)
type SIRIVehicleMonitoringRequestDeliveriesResponseHandler ¶
type SIRIVehicleMonitoringRequestDeliveriesResponseHandler struct {
// contains filtered or unexported fields
}
func (*SIRIVehicleMonitoringRequestDeliveriesResponseHandler) ConnectorType ¶
func (handler *SIRIVehicleMonitoringRequestDeliveriesResponseHandler) ConnectorType() string
func (*SIRIVehicleMonitoringRequestDeliveriesResponseHandler) RequestorRef ¶
func (handler *SIRIVehicleMonitoringRequestDeliveriesResponseHandler) RequestorRef() string
func (*SIRIVehicleMonitoringRequestDeliveriesResponseHandler) Respond ¶
func (handler *SIRIVehicleMonitoringRequestDeliveriesResponseHandler) Respond(params HandlerParams)
type SIRIVehicleMonitoringRequestHandler ¶
type SIRIVehicleMonitoringRequestHandler struct {
// contains filtered or unexported fields
}
func (*SIRIVehicleMonitoringRequestHandler) ConnectorType ¶
func (handler *SIRIVehicleMonitoringRequestHandler) ConnectorType() string
func (*SIRIVehicleMonitoringRequestHandler) RequestorRef ¶
func (handler *SIRIVehicleMonitoringRequestHandler) RequestorRef() string
func (*SIRIVehicleMonitoringRequestHandler) Respond ¶
func (handler *SIRIVehicleMonitoringRequestHandler) Respond(params HandlerParams)
type Savable ¶
type Savable interface {
Save(response http.ResponseWriter)
}
type Server ¶
type Server struct { uuid.UUIDConsumer clock.ClockConsumer core.ReferentialsConsumer // contains filtered or unexported fields }
func (*Server) HandleFlow ¶
func (server *Server) HandleFlow(response http.ResponseWriter, request *http.Request)
func (*Server) ListenAndServe ¶
type SituationController ¶
type SituationController struct {
// contains filtered or unexported fields
}
func (*SituationController) Create ¶
func (controller *SituationController) Create(response http.ResponseWriter, body []byte)
func (*SituationController) Delete ¶
func (controller *SituationController) Delete(response http.ResponseWriter, identifier string)
func (*SituationController) Index ¶
func (controller *SituationController) Index(response http.ResponseWriter, filters url.Values)
func (*SituationController) Show ¶
func (controller *SituationController) Show(response http.ResponseWriter, identifier string)
func (*SituationController) Update ¶
func (controller *SituationController) Update(response http.ResponseWriter, identifier string, body []byte)
type StatusController ¶
type StatusController struct{}
type StopAreaController ¶
type StopAreaController struct {
// contains filtered or unexported fields
}
func (*StopAreaController) Create ¶
func (controller *StopAreaController) Create(response http.ResponseWriter, body []byte)
func (*StopAreaController) Delete ¶
func (controller *StopAreaController) Delete(response http.ResponseWriter, identifier string)
func (*StopAreaController) Index ¶
func (controller *StopAreaController) Index(response http.ResponseWriter, filters url.Values)
func (*StopAreaController) Show ¶
func (controller *StopAreaController) Show(response http.ResponseWriter, identifier string)
func (*StopAreaController) Update ¶
func (controller *StopAreaController) Update(response http.ResponseWriter, identifier string, body []byte)
type StopAreaGroupsController ¶
type StopAreaGroupsController struct {
// contains filtered or unexported fields
}
func (*StopAreaGroupsController) Create ¶
func (controller *StopAreaGroupsController) Create(response http.ResponseWriter, body []byte)
func (*StopAreaGroupsController) Delete ¶
func (controller *StopAreaGroupsController) Delete(response http.ResponseWriter, identifier string)
func (*StopAreaGroupsController) Index ¶
func (controller *StopAreaGroupsController) Index(response http.ResponseWriter, filters url.Values)
func (*StopAreaGroupsController) Show ¶
func (controller *StopAreaGroupsController) Show(response http.ResponseWriter, identifier string)
func (*StopAreaGroupsController) Update ¶
func (controller *StopAreaGroupsController) Update(response http.ResponseWriter, identifier string, body []byte)
type StopVisitController ¶
type StopVisitController struct {
// contains filtered or unexported fields
}
func (*StopVisitController) Create ¶
func (controller *StopVisitController) Create(response http.ResponseWriter, body []byte)
func (*StopVisitController) Delete ¶
func (controller *StopVisitController) Delete(response http.ResponseWriter, identifier string)
func (*StopVisitController) Index ¶
func (controller *StopVisitController) Index(response http.ResponseWriter, filters url.Values)
func (*StopVisitController) Show ¶
func (controller *StopVisitController) Show(response http.ResponseWriter, identifier string)
func (*StopVisitController) Update ¶
func (controller *StopVisitController) Update(response http.ResponseWriter, identifier string, body []byte)
type TimeController ¶
type TimeController struct {
// contains filtered or unexported fields
}
type VehicleController ¶
type VehicleController struct {
// contains filtered or unexported fields
}
func (*VehicleController) Create ¶
func (controller *VehicleController) Create(response http.ResponseWriter, body []byte)
func (*VehicleController) Delete ¶
func (controller *VehicleController) Delete(response http.ResponseWriter, identifier string)
func (*VehicleController) Index ¶
func (controller *VehicleController) Index(response http.ResponseWriter, filters url.Values)
func (*VehicleController) Show ¶
func (controller *VehicleController) Show(response http.ResponseWriter, identifier string)
func (*VehicleController) Update ¶
func (controller *VehicleController) Update(response http.ResponseWriter, identifier string, body []byte)
type VehicleJourneyController ¶
type VehicleJourneyController struct {
// contains filtered or unexported fields
}
func (*VehicleJourneyController) Create ¶
func (controller *VehicleJourneyController) Create(response http.ResponseWriter, body []byte)
func (*VehicleJourneyController) Delete ¶
func (controller *VehicleJourneyController) Delete(response http.ResponseWriter, identifier string)
func (*VehicleJourneyController) Index ¶
func (controller *VehicleJourneyController) Index(response http.ResponseWriter, filters url.Values)
func (*VehicleJourneyController) Show ¶
func (controller *VehicleJourneyController) Show(response http.ResponseWriter, identifier string)
func (*VehicleJourneyController) Update ¶
func (controller *VehicleJourneyController) Update(response http.ResponseWriter, identifier string, body []byte)
Source Files ¶
- controller.go
- graphql_handler.go
- gtfs_handler.go
- import_controller.go
- line_controller.go
- line_group_controller.go
- operator_controller.go
- partner_controller.go
- push_handler.go
- referential_controller.go
- server.go
- siri_check_status_request_hander.go
- siri_delete_subscription_request_handler.go
- siri_error_response.go
- siri_estimated_timetable_deliveries_response_handler.go
- siri_estimated_timetable_request_handler.go
- siri_general_message_deliveries_response_handler.go
- siri_general_message_request_handler.go
- siri_handler.go
- siri_lines_discovery_request_handler.go
- siri_lite_handler.go
- siri_lite_vehicle_monitoring_request_handler.go
- siri_notify_subscription_terminated_handler.go
- siri_service_request_handler.go
- siri_situation_exchange_deliveries_response_handler.go
- siri_situation_exchange_request_handler.go
- siri_stop_discovery_request_handler.go
- siri_stop_monitoring_deliveries_response_handler.go
- siri_stop_monitoring_request_handler.go
- siri_subscribe_request_handler.go
- siri_subscription_terminated_notification_handler.go
- siri_vehicle_monitoring_deliveries_response_handler.go
- siri_vehicle_monitoring_request_handler.go
- situation_controller.go
- status_controller.go
- stop_area_controller.go
- stop_area_group_controller.go
- stop_visit_controller.go
- time_controller.go
- vehicle_controller.go
- vehicle_journey_controller.go
Click to show internal directories.
Click to hide internal directories.