heyitsanthony / etcdircd Goto Github PK
View Code? Open in Web Editor NEWAn ircd backed by etcd
License: GNU Affero General Public License v3.0
An ircd backed by etcd
License: GNU Affero General Public License v3.0
have makefile to create docker image and possibly host it somewhere
O - give "channel creator" status;
o - give/take channel operator privilege;
v - give/take the voice privilege;
a - toggle the anonymous channel flag;
i - toggle the invite-only channel flag;
m - toggle the moderated channel;
n - toggle the no messages to channel from clients on the outside;
q - toggle the quiet channel flag;
p - toggle the private channel flag;
s - toggle the secret channel flag;
r - toggle the server reop channel flag;
t - toggle the topic settable by channel operator only flag;
k - set/remove the channel key (password);
l - set/remove the user limit to channel;
b - set/remove ban mask to keep users out;
e - set/remove an exception mask to override a ban mask;
I - set/remove an invitation mask to automatically override the invite-only flag;
user mode +E forces rejects all privmsgs to the user that are not OTR
it would be interesting to setup a demo irc server.
probably we can start with a simple one node etcd + ircd on a cheap vps or something.
test with inspircd + docker
gofmt, govet, gosimple, unused
Hi,
i tested your code in a Docker go container:
golang latest 99e596fc807e 10 days ago 733MB
and it panicked:
$ docker exec -it adoring_booth etcdircd
panic: runtime error: index out of range
goroutine 73 [running]:
github.com/heyitsanthony/etcdircd.ClientDo(0xcbed60, 0xc42035e000, 0xc420372ff0, 0x0, 0x0)
/go/src/github.com/heyitsanthony/etcdircd/client.go:59 +0x87d
github.com/heyitsanthony/etcdircd.(*Server).handleConn(0xc4200f20c0, 0xcbde20, 0xc4202ac180)
/go/src/github.com/heyitsanthony/etcdircd/server.go:87 +0x3c4
github.com/heyitsanthony/etcdircd.(*Server).Serve.func1(0xcbde20, 0xc4202ac180, 0xc420018ae0, 0xc4200f20c0)
/go/src/github.com/heyitsanthony/etcdircd/server.go:58 +0x7d
created by github.com/heyitsanthony/etcdircd.(*Server).Serve
/go/src/github.com/heyitsanthony/etcdircd/server.go:53 +0xda
I didn't have time to look into the code, the last message I sent from irssi was /leave
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.