Documentation ¶
Index ¶
- type Handler
- func (h Handler) CompleteIssue(c *gin.Context)
- func (h Handler) CreateForm(c *gin.Context)
- func (h Handler) CreateIssue(c *gin.Context)
- func (h Handler) CreateOffical(c *gin.Context)
- func (h Handler) DeleteAllIssue(c *gin.Context)
- func (h Handler) GetAllForm(c *gin.Context)
- func (h Handler) GetAllIssues(c *gin.Context)
- func (h Handler) GetAllPendingOfficials(c *gin.Context)
- func (h Handler) GetAllVerifiedOfficials(c *gin.Context)
- func (h Handler) GetFormByID(c *gin.Context)
- func (h Handler) GetFormsByOfficialID(c *gin.Context)
- func (h Handler) GetIssueByID(c *gin.Context)
- func (h Handler) GetIssueSatus(c *gin.Context)
- func (h Handler) GetIssueWithFormHandler(c *gin.Context)
- func (h Handler) GetOfficial(c *gin.Context)
- func (h Handler) GetOfficialByID(c *gin.Context)
- func (h Handler) SearchIssueByPostNumber(c *gin.Context)
- func (h Handler) SearchLinemanByName(c *gin.Context)
- func (h Handler) VerifyUser(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
func (Handler) CompleteIssue ¶
func (Handler) CreateForm ¶
func (Handler) CreateIssue ¶
Create Issue @Summary Create Electricty Issue @Param reqBody body models.Issue true "Example Request Body" @Accept json @Produce json @Router /issue [post]
func (Handler) CreateOffical ¶
Create User @Summary Create KSEB Employee @Param reqBody body models.Officials true "Example Request Body" @Accept json @Produce json @Router /officials [post]
func (Handler) DeleteAllIssue ¶
func (Handler) GetAllForm ¶
func (Handler) GetAllIssues ¶
Get all Issues @Summary Returns all the existin issues @Produce json @Router /issue [get]
func (Handler) GetAllPendingOfficials ¶
Get Users @Summary return all verify pending users @Accept json @Produce json @Router /officials/pending [get]
func (Handler) GetAllVerifiedOfficials ¶
Get Users @Summary return all verified users @Accept json @Produce json @Router /officials/all [get]
func (Handler) GetFormByID ¶
func (Handler) GetFormsByOfficialID ¶
Fetch the forms associated with an particular Employee
func (Handler) GetIssueByID ¶
Get Single Issue @Summary Returns A Single Issue With id @Produce json @Router /issue/:id [get]
func (Handler) GetIssueSatus ¶
func (Handler) GetIssueWithFormHandler ¶
func (Handler) GetOfficial ¶
Find User @Summary Check whether user exist in database or not by supertokens primary key @Accept json @Produce json @Router /officials [get]
func (Handler) GetOfficialByID ¶
func (Handler) SearchIssueByPostNumber ¶
Get Single Issue @Summary Returns A Single Issue With Post_id @Query post_id @Produce json @Router /issue [get]
func (Handler) SearchLinemanByName ¶
Get the name of Line man