module Shatter::Packet::Handler

Direct including types

Defined in:

shatter/packet/handler.cr

Constant Summary

ALL_TAGS_DISABLED = TAG_OPTIONS.includes?("-*")
ALL_TAGS_ENABLED = TAG_OPTIONS.includes?("*")
DISABLED_TAGS = TAG_OPTIONS.select(&.starts_with?("-")).map(&.[](1..))
ENABLED_TAGS = TAG_OPTIONS.reject(&.starts_with?("-"))
TAG_OPTIONS = (ENV["SHATTER_DESCRIBE_TAGS"]? || "").split(",")

Constructors

Macro Summary

Constructor Detail

def self.new(pkt : IO, con : Shatter::Connection) #

[View source]

Macro Detail

macro field(t, &block) #

[View source]
macro type_or_alias(type) #

[View source]