package
Version:
v0.0.0-...-2ad5e84
Opens a new window with list of versions in this module.
Published: Jul 30, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
ID = 0
GID = 1
UID = 2
UpdateAll = 150
)
type Chat struct {
Time string `json:"time"`
TicketID uint `json:"ticket_id"`
UserID uint `json:"user_id"`
UserName string `json:"username"`
Admin bool `json:"admin"`
Data string `json:"data"`
}
type Result struct {
Ticket Ticket `json:"tickets"`
}
type ResultAdminAll struct {
Tickets []core.Ticket `json:"tickets"`
}
type ResultAll struct {
Tickets []Ticket `json:"tickets"`
}
type ResultTicketAll struct {
Tickets []Ticket `json:"tickets"`
}
type Ticket struct {
ID uint `json:"id"`
Time string `json:"time"`
GroupID uint `json:"group_id"`
UserID uint `json:"user_id"`
Chat []Chat `json:"chat"`
Solved *bool `json:"solved"`
Title string `json:"title"`
UserName string `json:"username"`
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.