inaka / cowboy-trails

A couple of improvements over Cowboy Routes

Home Page:http://inaka.github.io/cowboy-trails/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow more than one server running on the same node

elbrujohalcon opened this issue · comments

  • implement trails:store(atom(), trails()) that acts like trails:store/1 but it let's the caller store more than one server on the same node assigning a different name for each one.
  • implement trails:store(atom(), [{cowboy_router:host_match(), trails()}]) that acts like trails:store/2 but it let's the caller store more than one host for the same server.