v0.2.0
irc-go v0.2.0 is a new tagged release, incorporating enhancements to ircevent
, our IRC client library. There are no API breaks relative to v0.1.0.
Thanks to @ludviglundgren, @Mikaela, and @progval for helpful discussions, testing, and code reviews.
Added
- Added
(*ircevent.Connection).GetLabeledReponse
, a synchronous API for getting a labeled message response. (#74, thanks @progval!) - Added
(*ircevent.Connection).AddDisconnectCallback
, which allows registering callbacks that are invoked whenever ircevent detects disconnection from the server. (#78, #80, thanks @ludviglundgren!) - Added
(ircevent.Connection).SASLOptional
; when set to true, this makes failure to SASL non-fatal, which can simplify compatibility with legacy services implementations (#78, #83, thanks @ludviglundgren!) ircevent
now exposes most commonly used numerics as package constants, e.g.ircevent.RPL_WHOISUSER
(311
)