Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CORSMiddleware ¶
func CORSMiddleware() gin.HandlerFunc
func ConfigureRouter ¶
func ConfigureRouter(dimController *DimController) *gin.Engine
Types ¶
type DimController ¶
type DimController struct {
// contains filtered or unexported fields
}
func NewDimController ¶
func NewDimController(dimService DimServiceInterface) *DimController
func (DimController) CreateFlightPlan ¶
func (d DimController) CreateFlightPlan(c *gin.Context)
func (DimController) DeleteFlightPlan ¶
func (d DimController) DeleteFlightPlan(c *gin.Context)
func (DimController) GetFlightPlan ¶
func (d DimController) GetFlightPlan(c *gin.Context)
func (DimController) UpdateFlightPlan ¶
func (d DimController) UpdateFlightPlan(c *gin.Context)
func (DimController) UploadBatch ¶
func (d DimController) UploadBatch(c *gin.Context)
type DimService ¶
type DimService struct {
// contains filtered or unexported fields
}
func NewDimService ¶
func NewDimService(oRepo observation.ObservationRepository, orRepo observationRequest.ObservationRequestRepository) *DimService
type DimServiceInterface ¶
type DimServiceInterface interface {
// contains filtered or unexported methods
}
Click to show internal directories.
Click to hide internal directories.