Documentation
¶
Index ¶
- func CreateComment(c *gin.Context)
- func CreateSession(c *gin.Context)
- func CreateTeam(c *gin.Context)
- func CreateTicket(c *gin.Context)
- func CreateUser(c *gin.Context)
- func DeleteSession(c *gin.Context)
- func GetAllCommentsForTicket(c *gin.Context)
- func GetAllPossibleStatuses(c *gin.Context)
- func GetAllTickets(c *gin.Context)
- func GetOneOrAllTickets(c *gin.Context)
- func GetSingleTicket(c *gin.Context, id string)
- func GetTeamByID(c *gin.Context)
- func GetTeamsByName(c *gin.Context)
- func GetUserById(c *gin.Context)
- func GetUsers(c *gin.Context)
- func InitCommentRepo(repo models.CommentRepository)
- func InitSessionRepo(repo models.SessionRepository)
- func InitTeamRepo(repo models.TeamRepository)
- func InitTicketRepo(repo models.TicketRepository)
- func InitUserRepo(repo models.UserRepository)
- func RemoveTeamById(c *gin.Context)
- func UpdateTeam(c *gin.Context)
- func UpdateTeamById(c *gin.Context)
- func UpdateTicket(c *gin.Context)
- func UpdateUserById(c *gin.Context)
- type RouteHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateComment ¶
func CreateSession ¶
func CreateTeam ¶
func CreateTicket ¶
func CreateUser ¶
func DeleteSession ¶
func GetAllCommentsForTicket ¶
func GetAllPossibleStatuses ¶
func GetAllTickets ¶
func GetOneOrAllTickets ¶
func GetSingleTicket ¶
func GetTeamByID ¶
func GetTeamsByName ¶
func GetUserById ¶
func InitCommentRepo ¶
func InitCommentRepo(repo models.CommentRepository)
func InitSessionRepo ¶
func InitSessionRepo(repo models.SessionRepository)
func InitTeamRepo ¶
func InitTeamRepo(repo models.TeamRepository)
func InitTicketRepo ¶
func InitTicketRepo(repo models.TicketRepository)
func InitUserRepo ¶
func InitUserRepo(repo models.UserRepository)
func RemoveTeamById ¶
func UpdateTeam ¶
func UpdateTeamById ¶
func UpdateTicket ¶
func UpdateUserById ¶
Types ¶
type RouteHandler ¶
Decorator to validate session before allowing access to certain routes
func ValidateSession ¶
func ValidateSession(rh RouteHandler) RouteHandler
Click to show internal directories.
Click to hide internal directories.