A set of stabilized interfaces for cchat implementations, joining the backend and frontend together.
diamondburned
05f8ec0cbf
This commit breaks the Commander interface. Prior to this, the Run method would take in an io.Writer and do its tasks in the background. Although this has lots of potential for usages, it is also very overkill. Moreover, it makes IPC harder, since it now has to send over fragments of data in synchronized order. This commit gets rid of the io.Writer and only take a []byte for return along with the error. This makes it easier for both the frontend and backend to implement most commands, as well as making it easier for data to be transferred over the wire. |
||
---|---|---|
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.