Discover Packages
github.com/medievalsoftware/herald
internal
client
package
Version:
v0.0.0-...-8d1baa2
Opens a new window with list of versions in this module.
Published: Mar 8, 2026
License: MPL-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Client manages a WebSocket connection to an IRC server.
New creates a Client that will send tea.Msg values through dispatch.
Close cleanly shuts down the connection.
Connect dials the WebSocket server and performs IRC registration with
CAP negotiation.
HasCap reports whether the server acknowledged the named capability.
Nick returns the current nickname.
Send writes a raw IRC line to the WebSocket.
SetNick updates the stored nickname (called when server confirms a nick change).
type ConnectedMsg struct{}
ConnectedMsg signals that the WebSocket connection is established.
type DisconnectedMsg struct {
Err error
}
DisconnectedMsg signals that the connection was closed.
type ErrorMsg struct {
Err error
}
ErrorMsg carries a non-fatal error from the client.
IRCMsg wraps a parsed IRC message for the TUI.
Option configures a Client.
WithPass sets the server password sent during registration.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.