glguy / irc-core

Haskell IRC library and console client - Join us on libera.chat #glirc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support a list of servers that are cycled on reconnect

glguy opened this issue · comments

This would lead to bundling the hostname, port, tls settings so that each entry in the list could have a different setting.

servers:
  * name: "example"

    remotes:
      * hostname: "this.chat.net"
        port: 6667

      * hostname: "that.chat.net"
        port: 7000
        tls: yes

I'm not sold on what remotes should actually be, however. Perhaps servers becomes networks and then remotes could be servers