Libraries to help with IRC development in Go. Fork of https://github.com/ergochat/irc-go
Find a file
2024-02-07 00:29:03 -05:00
.github/workflows add CI workflow 2023-02-27 20:20:44 -05:00
ircevent move sasl utility to ircutils 2024-02-06 01:20:35 -05:00
ircfmt fix an old TODO (#95) 2023-06-12 12:20:59 -04:00
ircmsg test utf8-aware truncation in ircmsg 2023-06-14 02:28:55 -04:00
ircreader rename to Message and Reader; remove Event 2021-03-10 18:08:37 -05:00
ircutils preallocate split response as well 2024-02-07 00:29:03 -05: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
CHANGELOG.md changelog for v0.4.0 2023-06-14 02:41:05 -04:00
doc.go remove godoc warning 2022-01-19 03:55:42 -05:00
go.mod remove ircmap and gircclient, rename to ergochat/irc-go 2021-06-17 16:51:48 -04:00
go.sum truncate go.sum 2023-02-25 23:06:27 -05:00
LICENSE update version and changelog for v1.0.0 2022-01-19 02:29:39 -05:00
Makefile remove ircmap and gircclient, rename to ergochat/irc-go 2021-06-17 16:51:48 -04:00
README.md fix obsolete goshuirc links 2022-01-19 03:54:17 -05:00

ergochat/irc-go

These are libraries to help in writing IRC clients and servers in Go, prioritizing correctness, safety, and IRCv3 support. They are not fully API-stable, but we expect any API breaks to 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.

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