Documentation ¶
Index ¶
- func ApprovedJobsHandler(ctx *gin.Context)
- func CreateJobsHandler(ctx *gin.Context)
- func DeleteJobsHandler(ctx *gin.Context)
- func InitializeHandler()
- func ListJobsHandler(ctx *gin.Context)
- func LoginHandler(ctx *gin.Context)
- func ShowJobsHandler(ctx *gin.Context)
- func UserCheckHandler(ctx *gin.Context)
- type ApprovedJobsRequest
- type CreateJobsRequest
- type CreateJobsResponse
- type ErrorResponse
- type LoginRequest
- type UserValidationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApprovedJobsHandler ¶
func CreateJobsHandler ¶
func DeleteJobsHandler ¶
func InitializeHandler ¶
func InitializeHandler()
func ListJobsHandler ¶
func LoginHandler ¶
func ShowJobsHandler ¶
func UserCheckHandler ¶
Types ¶
type ApprovedJobsRequest ¶
type ApprovedJobsRequest struct {
Approved bool `json:"approved"`
}
type CreateJobsRequest ¶
type CreateJobsRequest struct { Title string `json:"title"` Description string `json:"description"` Role string `json:"role"` Company string `json:"company"` Location string `json:"location"` Remote bool `json:"remote"` Link string `json:"link"` Experience string `json:"experience"` Salary string `json:"salary"` Approved bool `json:"approved"` }
CreateJobs
func (*CreateJobsRequest) Validate ¶
func (r *CreateJobsRequest) Validate() error
type CreateJobsResponse ¶
type CreateJobsResponse struct { Message string `json:"message"` Data schemas.JobsResponse `json:"data"` }
type ErrorResponse ¶
type LoginRequest ¶
type UserValidationResponse ¶
Click to show internal directories.
Click to hide internal directories.