api

package
v0.0.0-...-d2267d0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2025 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_PER_PAGE = 30
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerInterface

type ControllerInterface interface {
	// contains filtered or unexported methods
}

func NewImportController

func NewImportController(referential *core.Referential) ControllerInterface

func NewStatusController

func NewStatusController(server *Server) ControllerInterface

type FacilityController

type FacilityController struct {
	// contains filtered or unexported fields
}

func (*FacilityController) Create

func (controller *FacilityController) Create(response http.ResponseWriter, body []byte)

func (*FacilityController) Delete

func (controller *FacilityController) Delete(response http.ResponseWriter, identifier string)

func (*FacilityController) Index

func (controller *FacilityController) Index(response http.ResponseWriter, _params url.Values)

func (*FacilityController) Show

func (controller *FacilityController) Show(response http.ResponseWriter, identifier string)

func (*FacilityController) Update

func (controller *FacilityController) Update(response http.ResponseWriter, identifier string, body []byte)

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, params 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, _params 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, _params 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 Paginable

type Paginable interface {
	model.Situation | model.StopArea | model.Line
}

type PaginatedResource

type PaginatedResource[p Paginable] struct {
	Models     []*p
	Pagination `json:"Pagination"`
}

type Pagination

type Pagination struct {
	CurrentPage int
	PerPage     int
	TotalPages  int
	TotalCount  int
}

type PartnerController

type PartnerController struct {
	// contains filtered or unexported fields
}

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, _params 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) SubscriptionsCreate

func (controller *PartnerController) SubscriptionsCreate(response http.ResponseWriter, identifier string, body []byte)

func (*PartnerController) SubscriptionsDelete

func (controller *PartnerController) SubscriptionsDelete(response http.ResponseWriter, identifier string, subscriptionId string)

func (*PartnerController) SubscriptionsIndex

func (controller *PartnerController) SubscriptionsIndex(response http.ResponseWriter, identifier string)

func (*PartnerController) Update

func (controller *PartnerController) Update(response http.ResponseWriter, identifier string, body []byte)

type PartnerTemplateController

type PartnerTemplateController struct {
	// contains filtered or unexported fields
}

func (*PartnerTemplateController) Create

func (controller *PartnerTemplateController) Create(response http.ResponseWriter, body []byte)

func (*PartnerTemplateController) Delete

func (controller *PartnerTemplateController) Delete(response http.ResponseWriter, identifier string)

func (*PartnerTemplateController) Index

func (controller *PartnerTemplateController) Index(response http.ResponseWriter, _params url.Values)

func (*PartnerTemplateController) Save

func (controller *PartnerTemplateController) Save(response http.ResponseWriter)

func (*PartnerTemplateController) Show

func (controller *PartnerTemplateController) Show(response http.ResponseWriter, identifier string)

func (*PartnerTemplateController) Update

func (controller *PartnerTemplateController) 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 NewReferentialController

func NewReferentialController(server *Server) *ReferentialController

func (*ReferentialController) Create

func (controller *ReferentialController) Create(response http.ResponseWriter, request *http.Request)

func (*ReferentialController) Delete

func (controller *ReferentialController) Delete(response http.ResponseWriter, identifier string)

func (*ReferentialController) Index

func (controller *ReferentialController) Index(response http.ResponseWriter, _params 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, request *http.Request, identifier string)

type RestfulResource

type RestfulResource interface {
	Index(response http.ResponseWriter, params 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)
}

func NewFacilityController

func NewFacilityController(referential *core.Referential) RestfulResource

func NewLineController

func NewLineController(referential *core.Referential) RestfulResource

func NewLineGroupsController

func NewLineGroupsController(referential *core.Referential) RestfulResource

func NewOperatorController

func NewOperatorController(referential *core.Referential) RestfulResource

func NewPartnerController

func NewPartnerController(referential *core.Referential) RestfulResource

func NewPartnerTemplateController

func NewPartnerTemplateController(referential *core.Referential) RestfulResource

func NewScheduledStopVisitController

func NewScheduledStopVisitController(referential *core.Referential) RestfulResource

func NewSituationController

func NewSituationController(referential *core.Referential) RestfulResource

func NewStopAreaController

func NewStopAreaController(referential *core.Referential) RestfulResource

func NewStopAreaGroupsController

func NewStopAreaGroupsController(referential *core.Referential) RestfulResource

func NewStopVisitController

func NewStopVisitController(referential *core.Referential) RestfulResource

func NewVehicleController

func NewVehicleController(referential *core.Referential) RestfulResource

func NewVehicleJourneyController

func NewVehicleJourneyController(referential *core.Referential) RestfulResource

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 SIRIError

type SIRIError struct {
	// contains filtered or unexported fields
}

func (SIRIError) Send

func (e SIRIError) Send()

type SIRIEstimatedTimetableRequestDeliveriesResponseHandler

type SIRIEstimatedTimetableRequestDeliveriesResponseHandler struct {
	// contains filtered or unexported fields
}

func (*SIRIEstimatedTimetableRequestDeliveriesResponseHandler) ConnectorType

func (*SIRIEstimatedTimetableRequestDeliveriesResponseHandler) RequestorRef

func (*SIRIEstimatedTimetableRequestDeliveriesResponseHandler) Respond

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 SIRIFacilityMonitoringRequestDeliveriesResponseHandler

type SIRIFacilityMonitoringRequestDeliveriesResponseHandler struct {
	// contains filtered or unexported fields
}

func (*SIRIFacilityMonitoringRequestDeliveriesResponseHandler) ConnectorType

func (*SIRIFacilityMonitoringRequestDeliveriesResponseHandler) RequestorRef

func (*SIRIFacilityMonitoringRequestDeliveriesResponseHandler) Respond

type SIRIFacilityMonitoringRequestHandler

type SIRIFacilityMonitoringRequestHandler struct {
	// contains filtered or unexported fields
}

func (*SIRIFacilityMonitoringRequestHandler) ConnectorType

func (handler *SIRIFacilityMonitoringRequestHandler) ConnectorType() string

func (*SIRIFacilityMonitoringRequestHandler) RequestorRef

func (handler *SIRIFacilityMonitoringRequestHandler) RequestorRef() string

func (*SIRIFacilityMonitoringRequestHandler) Respond

func (handler *SIRIFacilityMonitoringRequestHandler) Respond(params HandlerParams)

type SIRIGeneralMessageRequestDeliveriesResponseHandler

type SIRIGeneralMessageRequestDeliveriesResponseHandler struct {
	// contains filtered or unexported fields
}

func (*SIRIGeneralMessageRequestDeliveriesResponseHandler) ConnectorType

func (*SIRIGeneralMessageRequestDeliveriesResponseHandler) RequestorRef

func (*SIRIGeneralMessageRequestDeliveriesResponseHandler) Respond

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

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 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 (*SIRISituationExchangeDeliveriesResponseHandler) Respond

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 (*SIRIStopMonitoringRequestDeliveriesResponseHandler) RequestorRef

func (*SIRIStopMonitoringRequestDeliveriesResponseHandler) Respond

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

type SIRIVehicleMonitoringRequestDeliveriesResponseHandler

type SIRIVehicleMonitoringRequestDeliveriesResponseHandler struct {
	// contains filtered or unexported fields
}

func (*SIRIVehicleMonitoringRequestDeliveriesResponseHandler) ConnectorType

func (*SIRIVehicleMonitoringRequestDeliveriesResponseHandler) RequestorRef

func (*SIRIVehicleMonitoringRequestDeliveriesResponseHandler) Respond

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 NewServer

func NewServer(bind string) *Server

func (*Server) HandleSIRI

func (server *Server) HandleSIRI(response http.ResponseWriter, request *http.Request)

func (*Server) ListenAndServe

func (server *Server) ListenAndServe() error

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, params 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 Status

type Status struct {
	Status  string `json:"status"`
	Version string `json:"version"`
}

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, params 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, _params 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, _params 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 SubscriptionResource

type SubscriptionResource interface {
	SubscriptionsIndex(response http.ResponseWriter, identifier string)
	SubscriptionsCreate(response http.ResponseWriter, identifier string, body []byte)
	SubscriptionsDelete(response http.ResponseWriter, identifier string, subscriptionId string)
}

type TimeController

type TimeController struct {
	// contains filtered or unexported fields
}

func NewTimeController

func NewTimeController(server *Server) *TimeController

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, _params 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, _params 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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL