Libraries to help with IRC development in Go. Mirror/fork of https://github.com/ergochat/irc-go https://github.com/ergochat/irc-go
irc
Go to file
Shivaram Lingamneni a16267c773 ircevent: avoid uses of time.After
"The underlying Timer is not recovered by the garbage collector until the
timer fires. If efficiency is a concern, use NewTimer instead and call
Timer.Stop if the timer is no longer needed."
2021-05-10 09:14:58 -04:00
client gofmt 2019-05-10 21:37:16 +10:00
ircevent ircevent: avoid uses of time.After 2021-05-10 09:14:58 -04:00
ircfmt fix greedy matching of bracketed escapes 2021-01-06 16:48:14 -05:00
ircmap ircmap: maps are always passed by ref lol, no need to do dis 2019-04-29 11:57:18 +10:00
ircmsg rename to Message and Reader; remove Event 2021-03-10 18:08:37 -05:00
ircreader rename to Message and Reader; remove Event 2021-03-10 18:08:37 -05:00
ircutils ircutils: add SanitizeText 2021-04-23 11:30:37 -04:00
.check-gofmt.sh add ircreader 2021-02-13 19:57:21 -05:00
.gitignore add some test code 2018-04-26 23:32:27 -04:00
.travis.gofmt.sh add some test code 2018-04-26 23:32:27 -04:00
.travis.yml fix gofmt, run tests in travis 2020-11-16 17:45:34 -05:00
doc.go Rename lib 2017-06-15 10:21:10 -06:00
go.mod run go mod tidy 2020-11-15 22:35:22 -05:00
go.sum run go mod tidy 2020-11-15 22:35:22 -05:00
LICENSE Rename lib 2017-06-15 10:21:10 -06:00
Makefile update examples, run gofmt 2021-02-19 11:45:33 -05:00
README.md reorder subpackages in the list 2021-04-19 09:45:06 -04:00

GoshuIRC-Go

These are libraries to help in writing IRC clients and servers in Go, prioritizing correctness, safety, and IRCv3 support. They are not yet API-stable, but any API breaks should be modest in scope.


GoDoc Build Status Coverage Status Go Report Card


Packages:

  • ircmsg: IRC message handling, raw line parsing and creation.
  • ircreader: Optimized reader for \n-terminated lines, with an expanding but bounded buffer.
  • ircevent: IRC client library (fork of thoj/go-ircevent).
  • ircfmt: IRC format codes handling, escaping and unescaping.
  • ircutils: Useful utility functions and classes that don't fit into their own packages.
  • ircmap: IRC string casefolding.
  • gircclient: Alternative, work-in-progress client library.

For a relatively complete example of the library's use, see slingamn/titlebot.