api

package
v0.0.0-...-1cd5ac2 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: MIT Imports: 30 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 GetTicket

func GetTicket(c *gin.Context)

func GetTickets

func GetTickets(c *gin.Context)

func SendMessage

func SendMessage(ctx *gin.Context)

func SendTag

func SendTag(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