Documentation
¶
Overview ¶
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
generated code - do not edit
Index ¶
- func Register(r *gin.Engine)
- type AstructBstruct2UseID
- type AstructBstruct2UseInput
- type AstructBstructUseID
- type AstructBstructUseInput
- type AstructID
- type AstructInput
- type BstructID
- type BstructInput
- type Controller
- func (controller *Controller) AddBackRepo(backRepo *test_orm.BackRepoStruct, stackPath string)
- func (controller *Controller) DeleteAstruct(c *gin.Context)
- func (controller *Controller) DeleteAstructBstruct2Use(c *gin.Context)
- func (controller *Controller) DeleteAstructBstructUse(c *gin.Context)
- func (controller *Controller) DeleteBstruct(c *gin.Context)
- func (controller *Controller) DeleteDstruct(c *gin.Context)
- func (controller *Controller) DeleteFstruct(c *gin.Context)
- func (controller *Controller) DeleteGstruct(c *gin.Context)
- func (controller *Controller) GetAstruct(c *gin.Context)
- func (controller *Controller) GetAstructBstruct2Use(c *gin.Context)
- func (controller *Controller) GetAstructBstruct2Uses(c *gin.Context)
- func (controller *Controller) GetAstructBstructUse(c *gin.Context)
- func (controller *Controller) GetAstructBstructUses(c *gin.Context)
- func (controller *Controller) GetAstructs(c *gin.Context)
- func (controller *Controller) GetBstruct(c *gin.Context)
- func (controller *Controller) GetBstructs(c *gin.Context)
- func (controller *Controller) GetDstruct(c *gin.Context)
- func (controller *Controller) GetDstructs(c *gin.Context)
- func (controller *Controller) GetFstruct(c *gin.Context)
- func (controller *Controller) GetFstructs(c *gin.Context)
- func (controller *Controller) GetGstruct(c *gin.Context)
- func (controller *Controller) GetGstructs(c *gin.Context)
- func (controller *Controller) GetLastCommitFromBackNb(c *gin.Context)
- func (controller *Controller) GetLastPushFromFrontNb(c *gin.Context)
- func (controller *Controller) PostAstruct(c *gin.Context)
- func (controller *Controller) PostAstructBstruct2Use(c *gin.Context)
- func (controller *Controller) PostAstructBstructUse(c *gin.Context)
- func (controller *Controller) PostBstruct(c *gin.Context)
- func (controller *Controller) PostDstruct(c *gin.Context)
- func (controller *Controller) PostFstruct(c *gin.Context)
- func (controller *Controller) PostGstruct(c *gin.Context)
- func (controller *Controller) UpdateAstruct(c *gin.Context)
- func (controller *Controller) UpdateAstructBstruct2Use(c *gin.Context)
- func (controller *Controller) UpdateAstructBstructUse(c *gin.Context)
- func (controller *Controller) UpdateBstruct(c *gin.Context)
- func (controller *Controller) UpdateDstruct(c *gin.Context)
- func (controller *Controller) UpdateFstruct(c *gin.Context)
- func (controller *Controller) UpdateGstruct(c *gin.Context)
- type DstructID
- type DstructInput
- type FstructID
- type FstructInput
- type GenericError
- type GstructID
- type GstructInput
- type ValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AstructBstruct2UseID ¶
type AstructBstruct2UseID struct { // The ID of the order // // in: path // required: true ID int64 }
An AstructBstruct2UseID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getAstructBstruct2Use updateAstructBstruct2Use deleteAstructBstruct2Use
type AstructBstruct2UseInput ¶
type AstructBstruct2UseInput struct { // The AstructBstruct2Use to submit or modify // in: body AstructBstruct2Use *orm.AstructBstruct2UseAPI }
AstructBstruct2UseInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postAstructBstruct2Use updateAstructBstruct2Use
type AstructBstructUseID ¶
type AstructBstructUseID struct { // The ID of the order // // in: path // required: true ID int64 }
An AstructBstructUseID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getAstructBstructUse updateAstructBstructUse deleteAstructBstructUse
type AstructBstructUseInput ¶
type AstructBstructUseInput struct { // The AstructBstructUse to submit or modify // in: body AstructBstructUse *orm.AstructBstructUseAPI }
AstructBstructUseInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postAstructBstructUse updateAstructBstructUse
type AstructID ¶
type AstructID struct { // The ID of the order // // in: path // required: true ID int64 }
An AstructID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getAstruct updateAstruct deleteAstruct
type AstructInput ¶
type AstructInput struct { // The Astruct to submit or modify // in: body Astruct *orm.AstructAPI }
AstructInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postAstruct updateAstruct
type BstructID ¶
type BstructID struct { // The ID of the order // // in: path // required: true ID int64 }
An BstructID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getBstruct updateBstruct deleteBstruct
type BstructInput ¶
type BstructInput struct { // The Bstruct to submit or modify // in: body Bstruct *orm.BstructAPI }
BstructInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postBstruct updateBstruct
type Controller ¶
type Controller struct { // Map_BackRepos is the map to the backRepo instance according to the stack instance path Map_BackRepos map[string]*test_orm.BackRepoStruct // contains filtered or unexported fields }
A Controller is the handler of all API REST calls matching the stack model It forwards API requests to the stack instance identified by the GONG_StackPath parameters in the request the stack instance is the BackRepo instance
func GetController ¶
func GetController() *Controller
func (*Controller) AddBackRepo ¶
func (controller *Controller) AddBackRepo(backRepo *test_orm.BackRepoStruct, stackPath string)
func (*Controller) DeleteAstruct ¶
func (controller *Controller) DeleteAstruct(c *gin.Context)
DeleteAstruct
swagger:route DELETE /astructs/{ID} astructs deleteAstruct
Delete a astruct ¶
default: genericError
200: astructDBResponse
func (*Controller) DeleteAstructBstruct2Use ¶
func (controller *Controller) DeleteAstructBstruct2Use(c *gin.Context)
DeleteAstructBstruct2Use
swagger:route DELETE /astructbstruct2uses/{ID} astructbstruct2uses deleteAstructBstruct2Use
Delete a astructbstruct2use ¶
default: genericError
200: astructbstruct2useDBResponse
func (*Controller) DeleteAstructBstructUse ¶
func (controller *Controller) DeleteAstructBstructUse(c *gin.Context)
DeleteAstructBstructUse
swagger:route DELETE /astructbstructuses/{ID} astructbstructuses deleteAstructBstructUse
Delete a astructbstructuse ¶
default: genericError
200: astructbstructuseDBResponse
func (*Controller) DeleteBstruct ¶
func (controller *Controller) DeleteBstruct(c *gin.Context)
DeleteBstruct
swagger:route DELETE /bstructs/{ID} bstructs deleteBstruct
Delete a bstruct ¶
default: genericError
200: bstructDBResponse
func (*Controller) DeleteDstruct ¶
func (controller *Controller) DeleteDstruct(c *gin.Context)
DeleteDstruct
swagger:route DELETE /dstructs/{ID} dstructs deleteDstruct
Delete a dstruct ¶
default: genericError
200: dstructDBResponse
func (*Controller) DeleteFstruct ¶
func (controller *Controller) DeleteFstruct(c *gin.Context)
DeleteFstruct
swagger:route DELETE /fstructs/{ID} fstructs deleteFstruct
Delete a fstruct ¶
default: genericError
200: fstructDBResponse
func (*Controller) DeleteGstruct ¶
func (controller *Controller) DeleteGstruct(c *gin.Context)
DeleteGstruct
swagger:route DELETE /gstructs/{ID} gstructs deleteGstruct
Delete a gstruct ¶
default: genericError
200: gstructDBResponse
func (*Controller) GetAstruct ¶
func (controller *Controller) GetAstruct(c *gin.Context)
GetAstruct
swagger:route GET /astructs/{ID} astructs getAstruct
Gets the details for a astruct.
Responses: default: genericError
200: astructDBResponse
func (*Controller) GetAstructBstruct2Use ¶
func (controller *Controller) GetAstructBstruct2Use(c *gin.Context)
GetAstructBstruct2Use
swagger:route GET /astructbstruct2uses/{ID} astructbstruct2uses getAstructBstruct2Use
Gets the details for a astructbstruct2use.
Responses: default: genericError
200: astructbstruct2useDBResponse
func (*Controller) GetAstructBstruct2Uses ¶
func (controller *Controller) GetAstructBstruct2Uses(c *gin.Context)
GetAstructBstruct2Uses
swagger:route GET /astructbstruct2uses astructbstruct2uses getAstructBstruct2Uses
Get all astructbstruct2uses ¶
Responses: default: genericError
200: astructbstruct2useDBResponse
func (*Controller) GetAstructBstructUse ¶
func (controller *Controller) GetAstructBstructUse(c *gin.Context)
GetAstructBstructUse
swagger:route GET /astructbstructuses/{ID} astructbstructuses getAstructBstructUse
Gets the details for a astructbstructuse.
Responses: default: genericError
200: astructbstructuseDBResponse
func (*Controller) GetAstructBstructUses ¶
func (controller *Controller) GetAstructBstructUses(c *gin.Context)
GetAstructBstructUses
swagger:route GET /astructbstructuses astructbstructuses getAstructBstructUses
Get all astructbstructuses ¶
Responses: default: genericError
200: astructbstructuseDBResponse
func (*Controller) GetAstructs ¶
func (controller *Controller) GetAstructs(c *gin.Context)
GetAstructs
swagger:route GET /astructs astructs getAstructs
Get all astructs ¶
Responses: default: genericError
200: astructDBResponse
func (*Controller) GetBstruct ¶
func (controller *Controller) GetBstruct(c *gin.Context)
GetBstruct
swagger:route GET /bstructs/{ID} bstructs getBstruct
Gets the details for a bstruct.
Responses: default: genericError
200: bstructDBResponse
func (*Controller) GetBstructs ¶
func (controller *Controller) GetBstructs(c *gin.Context)
GetBstructs
swagger:route GET /bstructs bstructs getBstructs
Get all bstructs ¶
Responses: default: genericError
200: bstructDBResponse
func (*Controller) GetDstruct ¶
func (controller *Controller) GetDstruct(c *gin.Context)
GetDstruct
swagger:route GET /dstructs/{ID} dstructs getDstruct
Gets the details for a dstruct.
Responses: default: genericError
200: dstructDBResponse
func (*Controller) GetDstructs ¶
func (controller *Controller) GetDstructs(c *gin.Context)
GetDstructs
swagger:route GET /dstructs dstructs getDstructs
Get all dstructs ¶
Responses: default: genericError
200: dstructDBResponse
func (*Controller) GetFstruct ¶
func (controller *Controller) GetFstruct(c *gin.Context)
GetFstruct
swagger:route GET /fstructs/{ID} fstructs getFstruct
Gets the details for a fstruct.
Responses: default: genericError
200: fstructDBResponse
func (*Controller) GetFstructs ¶
func (controller *Controller) GetFstructs(c *gin.Context)
GetFstructs
swagger:route GET /fstructs fstructs getFstructs
Get all fstructs ¶
Responses: default: genericError
200: fstructDBResponse
func (*Controller) GetGstruct ¶
func (controller *Controller) GetGstruct(c *gin.Context)
GetGstruct
swagger:route GET /gstructs/{ID} gstructs getGstruct
Gets the details for a gstruct.
Responses: default: genericError
200: gstructDBResponse
func (*Controller) GetGstructs ¶
func (controller *Controller) GetGstructs(c *gin.Context)
GetGstructs
swagger:route GET /gstructs gstructs getGstructs
Get all gstructs ¶
Responses: default: genericError
200: gstructDBResponse
func (*Controller) GetLastCommitFromBackNb ¶
func (controller *Controller) GetLastCommitFromBackNb(c *gin.Context)
swagger:route GET /commitfrombacknb backrepo GetLastCommitFromBackNb
func (*Controller) GetLastPushFromFrontNb ¶
func (controller *Controller) GetLastPushFromFrontNb(c *gin.Context)
swagger:route GET /pushfromfrontnb backrepo GetLastPushFromFrontNb
func (*Controller) PostAstruct ¶
func (controller *Controller) PostAstruct(c *gin.Context)
PostAstruct
swagger:route POST /astructs astructs postAstruct
Creates a astruct
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) PostAstructBstruct2Use ¶
func (controller *Controller) PostAstructBstruct2Use(c *gin.Context)
PostAstructBstruct2Use
swagger:route POST /astructbstruct2uses astructbstruct2uses postAstructBstruct2Use
Creates a astructbstruct2use
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) PostAstructBstructUse ¶
func (controller *Controller) PostAstructBstructUse(c *gin.Context)
PostAstructBstructUse
swagger:route POST /astructbstructuses astructbstructuses postAstructBstructUse
Creates a astructbstructuse
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) PostBstruct ¶
func (controller *Controller) PostBstruct(c *gin.Context)
PostBstruct
swagger:route POST /bstructs bstructs postBstruct
Creates a bstruct
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) PostDstruct ¶
func (controller *Controller) PostDstruct(c *gin.Context)
PostDstruct
swagger:route POST /dstructs dstructs postDstruct
Creates a dstruct
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) PostFstruct ¶
func (controller *Controller) PostFstruct(c *gin.Context)
PostFstruct
swagger:route POST /fstructs fstructs postFstruct
Creates a fstruct
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) PostGstruct ¶
func (controller *Controller) PostGstruct(c *gin.Context)
PostGstruct
swagger:route POST /gstructs gstructs postGstruct
Creates a gstruct
Consumes: - application/json Produces: - application/json Responses: 200: nodeDBResponse
func (*Controller) UpdateAstruct ¶
func (controller *Controller) UpdateAstruct(c *gin.Context)
UpdateAstruct
swagger:route PATCH /astructs/{ID} astructs updateAstruct
Update a astruct ¶
Responses: default: genericError
200: astructDBResponse
func (*Controller) UpdateAstructBstruct2Use ¶
func (controller *Controller) UpdateAstructBstruct2Use(c *gin.Context)
UpdateAstructBstruct2Use
swagger:route PATCH /astructbstruct2uses/{ID} astructbstruct2uses updateAstructBstruct2Use
Update a astructbstruct2use ¶
Responses: default: genericError
200: astructbstruct2useDBResponse
func (*Controller) UpdateAstructBstructUse ¶
func (controller *Controller) UpdateAstructBstructUse(c *gin.Context)
UpdateAstructBstructUse
swagger:route PATCH /astructbstructuses/{ID} astructbstructuses updateAstructBstructUse
Update a astructbstructuse ¶
Responses: default: genericError
200: astructbstructuseDBResponse
func (*Controller) UpdateBstruct ¶
func (controller *Controller) UpdateBstruct(c *gin.Context)
UpdateBstruct
swagger:route PATCH /bstructs/{ID} bstructs updateBstruct
Update a bstruct ¶
Responses: default: genericError
200: bstructDBResponse
func (*Controller) UpdateDstruct ¶
func (controller *Controller) UpdateDstruct(c *gin.Context)
UpdateDstruct
swagger:route PATCH /dstructs/{ID} dstructs updateDstruct
Update a dstruct ¶
Responses: default: genericError
200: dstructDBResponse
func (*Controller) UpdateFstruct ¶
func (controller *Controller) UpdateFstruct(c *gin.Context)
UpdateFstruct
swagger:route PATCH /fstructs/{ID} fstructs updateFstruct
Update a fstruct ¶
Responses: default: genericError
200: fstructDBResponse
func (*Controller) UpdateGstruct ¶
func (controller *Controller) UpdateGstruct(c *gin.Context)
UpdateGstruct
swagger:route PATCH /gstructs/{ID} gstructs updateGstruct
Update a gstruct ¶
Responses: default: genericError
200: gstructDBResponse
type DstructID ¶
type DstructID struct { // The ID of the order // // in: path // required: true ID int64 }
An DstructID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getDstruct updateDstruct deleteDstruct
type DstructInput ¶
type DstructInput struct { // The Dstruct to submit or modify // in: body Dstruct *orm.DstructAPI }
DstructInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postDstruct updateDstruct
type FstructID ¶
type FstructID struct { // The ID of the order // // in: path // required: true ID int64 }
An FstructID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getFstruct updateFstruct deleteFstruct
type FstructInput ¶
type FstructInput struct { // The Fstruct to submit or modify // in: body Fstruct *orm.FstructAPI }
FstructInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postFstruct updateFstruct
type GenericError ¶
type GenericError struct { // in: body Body struct { Code int32 `json:"code"` Message string `json:"message"` } `json:"body"` }
A GenericError is the default error message that is generated. For certain status codes there are more appropriate error structures.
swagger:response genericError
type GstructID ¶
type GstructID struct { // The ID of the order // // in: path // required: true ID int64 }
An GstructID parameter model.
This is used for operations that want the ID of an order in the path swagger:parameters getGstruct updateGstruct deleteGstruct
type GstructInput ¶
type GstructInput struct { // The Gstruct to submit or modify // in: body Gstruct *orm.GstructAPI }
GstructInput is a schema that can validate the user’s input to prevent us from getting invalid data swagger:parameters postGstruct updateGstruct
type ValidationError ¶
type ValidationError struct { // in: body Body struct { Code int32 `json:"code"` Message string `json:"message"` Field string `json:"field"` } `json:"body"` }
A ValidationError is an that is generated for validation failures. It has the same fields as a generic error but adds a Field property.
swagger:response validationError