summaryrefslogtreecommitdiff
path: root/lib/irc/context.ex
blob: 017ea5f024f12e802dfba0900be8db772ce352e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
defprotocol Irc.Context do
  @doc """
  Provides a global IRC context.
  """

  @spec capab?(t(), capability :: String.t()) :: boolean
  def capab?(t, capability)

  @spec capabs(t()) :: [String.t()]
  def capabs(t)

  def pid(t)

  def module(t)

end