irc v0.1.0 Irc.Message View Source
A library for decoding and encoding irc messages.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t() :: %Irc.Message{command: Irc.Message.Command.t, params: Irc.Message.Params.t, prefix: Irc.Message.Prefix.t}
An IRC message separated into three parts: the prefix, the command,and the parameters.
Link to this section Functions
Link to this function
decode(raw)
View Source
decode(String.t) :: {:ok, Irc.Message.t} | {:error, String.t}