Documentation ¶
Index ¶
- func ValidateIfObjectExist(collectionname string, filter bson.M, User string) (bool, error)
- type CollectionController
- func (c *CollectionController) CollectionObjectRevision(ctx *gin.Context)
- func (c *CollectionController) DeleteCollectionDatabyID(ctx *gin.Context)
- func (c *CollectionController) GetDetailCollectionData(ctx *gin.Context)
- func (c *CollectionController) GetDetailCollectionDatabyID(ctx *gin.Context)
- func (c *CollectionController) GetDetailCollectionDatabyName(ctx *gin.Context)
- func (c *CollectionController) GetDetailCollectionDatabyUUID(ctx *gin.Context)
- func (c *CollectionController) GetListofCollectionData(ctx *gin.Context)
- func (c *CollectionController) UpdateCollectionData(ctx *gin.Context)
- type CollectionData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CollectionController ¶
type CollectionController struct { }
func (*CollectionController) CollectionObjectRevision ¶
func (c *CollectionController) CollectionObjectRevision(ctx *gin.Context)
func (*CollectionController) DeleteCollectionDatabyID ¶
func (c *CollectionController) DeleteCollectionDatabyID(ctx *gin.Context)
func (*CollectionController) GetDetailCollectionData ¶
func (c *CollectionController) GetDetailCollectionData(ctx *gin.Context)
func (*CollectionController) GetDetailCollectionDatabyID ¶
func (c *CollectionController) GetDetailCollectionDatabyID(ctx *gin.Context)
func (*CollectionController) GetDetailCollectionDatabyName ¶
func (c *CollectionController) GetDetailCollectionDatabyName(ctx *gin.Context)
GetDetailCollectionDatabyName retrieves the detail data of a collection by its name. It expects a JSON request body containing the collection name and data. The function returns the detail data of the collection as a JSON response. The function also logs the performance of the function. The function also logs any errors that occur.
func (*CollectionController) GetDetailCollectionDatabyUUID ¶
func (c *CollectionController) GetDetailCollectionDatabyUUID(ctx *gin.Context)
func (*CollectionController) GetListofCollectionData ¶
func (c *CollectionController) GetListofCollectionData(ctx *gin.Context)
func (*CollectionController) UpdateCollectionData ¶
func (c *CollectionController) UpdateCollectionData(ctx *gin.Context)
Click to show internal directories.
Click to hide internal directories.