api

package
v0.0.0-...-ea705a9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MentionRegex, _ = regexp.Compile("<@(\\d+)>")

Functions

func CloseTicket

func CloseTicket(c *gin.Context)

func CreateTicketLabel

func CreateTicketLabel(ctx *gin.Context)

func DeleteTicketLabel

func DeleteTicketLabel(ctx *gin.Context)

func GetTicket

func GetTicket(c *gin.Context)

func GetTicketLabels

func GetTicketLabels(ctx *gin.Context)

func GetTickets

func GetTickets(c *gin.Context)

func ListTicketLabels

func ListTicketLabels(ctx *gin.Context)

func RemoveTicketLabel

func RemoveTicketLabel(ctx *gin.Context)

func SendMessage

func SendMessage(ctx *gin.Context)

func SendTag

func SendTag(ctx *gin.Context)

func SetTicketLabels

func SetTicketLabels(ctx *gin.Context)

func UpdateCloseReason

func UpdateCloseReason(c *gin.Context)

func UpdateTicketLabel

func UpdateTicketLabel(ctx *gin.Context)

Types

type StrippedMessage

type StrippedMessage struct {
	Author      user.User             `json:"author"`
	Content     string                `json:"content"`
	Timestamp   time.Time             `json:"timestamp"`
	Attachments []channel.Attachment  `json:"attachments"`
	Embeds      []embed.Embed         `json:"embeds"`
	Components  []component.Component `json:"components"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL