Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct { gorm.Model UUID uuid.UUID `gorm:"UNIQUE_INDEX;NOT NULL;Type:uuid"` GuildID string `gorm:"NOT NULL"` ActionType actionType `gorm:"NOT NULL"` AuthorID string // Author UserID TargetType entityType TargetValue string Reasons pq.StringArray `gorm:"Type:varchar[]"` WaitingForAuditLogBackfill bool Options []ItemOption LogMessage ItemLogMessage `gorm:"embedded;embedded_prefix:log_message_"` }
type ItemLogMessage ¶
type ItemOption ¶
type ItemOption struct { gorm.Model ItemID uint `gorm:"NOT NULL"` Key string `gorm:"NOT NULL"` PreviousValue string NewValue string Type entityType }
func (*ItemOption) TableName ¶
func (*ItemOption) TableName() string
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) Localizations ¶
func (p *Plugin) Localizations() []interfaces.Localization
Click to show internal directories.
Click to hide internal directories.