goshuirc / bnc

a simple irc bouncer written in go
https://goshubnc.org/
MIT License
17 stars 3 forks source link

Components #19

Closed prawnsalad closed 7 years ago

prawnsalad commented 7 years ago

General idea

I've always found that splitting an app into separate logical components keeps things simpler and manageable in the long run. So that's what this does.

What is a component

What components are not

Foo

This PR is only an example - there is more work to be done to make this generally usable

This example

This PR example shows the general idea in action, by implementing a *goshu nick to control the users BNC. Similar to *status of ZNC. Once the events are in place in the core project, you can see just how independent the *goshu code can be without impacting anything else.