A set of stabilized interfaces for cchat implementations, joining the backend and frontend together.
diamondburned
9fd965d45a
This commit deprecates all Nonce methods as well as the concept of Nonces in general. This is because in certain cases where coordination between message sends and echoes would require far too much effort with nonces as a method to detect message arrivals. Starting from this commit, frontend implementations must assume that a nil error returned from Sender's Send method means that the message has successfully arrived. Backend implementations must provide this guarantee if necessary by blocking Send until it's sure that the message has arrived. For services that send messages asynchronously, a handler and a blocking channel (or pubsub) could be used to signal to the Send goroutine from the event loop that the message has arrived. Backends may choose to transmit its own nonces for this purpose. |
||
---|---|---|
cmd/internal | ||
repository | ||
services | ||
text | ||
utils | ||
.editorconfig | ||
LICENSE | ||
README.md | ||
cchat.go | ||
generator.go | ||
go.mod | ||
go.sum |
README.md
cchat
A set of stabilized interfaces for cchat implementations, joining the backend and frontend together.
Refer to the GoDoc for interfaces and documentations.
Known implementations
The following sections contain known cchat implementations. PRs are welcomed for more implementations to be added here.
Backend
- diamondburned/cchat-mock
- A small subset of the cchat backend implementation mocked with fake data for testing.
- diamondburned/cchat-discord
- A Discord backend implementing cchat interfaces.
Frontend
- diamondburned/cchat-gtk
- A GTK+3 implementation of a cchat frontend.