struct

Circed::Domain::LineBan

Inherits YAML::Serializable / Struct / Value / Object

Constants

GLINE = "GLINE"
KLINE = "KLINE"
TYPES = {KLINE, GLINE, ZLINE}
ZLINE = "ZLINE"

Constructors

new(type : String, mask : String, reason : String, set_by : String, set_at : Time = Time.utc, expires_at : Time | Nil = nil)
Source
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Class methods

key(type : String, mask : String) : String
Source

Instance methods

expired?(now : Time = Time.utc) : Bool
Source
expires_at
Source
mask
Source
matches?(context : BanMatchContext) : Bool
Source
reason
Source
server_message
Source
set_at
Source
set_by
Source
type
Source