summaryrefslogtreecommitdiff
path: root/lib/irc/addressable.ex
blob: 02993b96c0d108b7d1d57a2ee31058c3b37f55d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
defprotocol Irc.Addressable do
  @moduledoc """
  Protocol for accessing a `nick`, `user`, `host` and `owner` pid and module from any compatible data structure.
  """

  def nick(t)
  def user(t)
  def host(t)
  def owner(t)
  def owner_module(t)

end