Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateController ¶
type CreateController struct{}
CreateController is for insert logic
func (*CreateController) InsertDocument ¶
func (create *CreateController) InsertDocument(c *gin.Context) (bool, interface{})
InsertDocument is for Document insert
func (*CreateController) InsertDocumentObj ¶
func (create *CreateController) InsertDocumentObj(jsonPost structs.JsonService) (bool, interface{})
type DeleteController ¶
type DeleteController struct{}
DeleteController is for insert logic
func (*DeleteController) DeleteDocument ¶
func (u *DeleteController) DeleteDocument(c *gin.Context) (bool, interface{})
DeleteDocument is for
func (*DeleteController) DeleteDocumentObj ¶
func (u *DeleteController) DeleteDocumentObj(jsonPost structs.JsonService) (bool, interface{})
type ReadController ¶
type ReadController struct{}
ReadController is for insert logic
func (*ReadController) FindDocument ¶
func (auth *ReadController) FindDocument(c *gin.Context, count bool) (bool, interface{})
FindDocument is for Document insert
func (*ReadController) FindDocumentObj ¶
func (auth *ReadController) FindDocumentObj(jsonPost structs.JsonService) (bool, interface{})
func (*ReadController) FindDocumentObjCount ¶
func (auth *ReadController) FindDocumentObjCount(jsonPost structs.JsonService, count bool) (bool, interface{})
/ count = true ; only count document non get data
type UpdateController ¶
type UpdateController struct{}
UpdateController is for insert logic
func (*UpdateController) UpdateDocument ¶
func (u *UpdateController) UpdateDocument(c *gin.Context) (bool, interface{})
UpdateDocument is for
func (*UpdateController) UpdateDocumentObj ¶
func (u *UpdateController) UpdateDocumentObj(jsonPost structs.JsonService) (bool, interface{})
Click to show internal directories.
Click to hide internal directories.