Documentation ¶
Index ¶
- func AuthenticateUser(c *gin.Context)
- func CORSMiddleware() gin.HandlerFunc
- func CheckJWT(secret string) gin.HandlerFunc
- func CreateIncident(c *gin.Context)
- func CreateTask(c *gin.Context)
- func CreateUser(c *gin.Context)
- func DeleteIncident(c *gin.Context)
- func DeleteTask(c *gin.Context)
- func DeleteUser(c *gin.Context)
- func GetIncident(c *gin.Context)
- func GetIncidents(c *gin.Context)
- func GetTask(c *gin.Context)
- func GetTasks(c *gin.Context)
- func GetUser(c *gin.Context)
- func GetUsers(c *gin.Context)
- func UpdateIncident(c *gin.Context)
- func UpdateTask(c *gin.Context)
- func UpdateUser(c *gin.Context)
- type ResponseObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthenticateUser ¶
AuthenticateUser authenticates an user
func DeleteIncident ¶
DeleteIncident deletes a incident based on its id
Types ¶
type ResponseObject ¶
type ResponseObject map[string]interface{}
ResponseObject is a simple mapping obejct
Click to show internal directories.
Click to hide internal directories.