config

package
v0.0.0-...-90cead1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultSanctionConfig string

Functions

This section is empty.

Types

type RetentionConfig

type RetentionConfig struct {
	ID                int8  `toml:"id"`
	Retention         int64 `toml:"retention"`
	RelativeRetention int8  `toml:"relative_retention"`
}

type SanctionConfig

type SanctionConfig struct {
	Retentions         []*RetentionConfig `toml:"retentions"`
	BanCommandSanction string             `toml:"ban_command_sanction"`
	Sanctions          []*sanction.Type   `toml:"sanctions"`
}

Jump to

Keyboard shortcuts

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