Commit Graph

290 Commits

Author SHA1 Message Date
Liam Stanley
a27267a822 rename Prefix to Source 2016-11-19 09:36:17 -05:00
Liam Stanley
3bd3b57d1e add Client.ClearCallbacks(), Client.RemoveCallback(), and implemented id's for callbacks for easy popping from the stack 2016-11-18 21:38:23 -05:00
Liam Stanley
78105514d1 have callback additions use a mutex 2016-11-18 20:11:13 -05:00
Liam Stanley
ea9381b0ce rewrite IsValidChannel() 2016-11-18 17:10:58 -05:00
Liam Stanley
7694378be0 implement IsValidNick() 2016-11-18 15:17:09 -05:00
Liam Stanley
b37fa0e70d add more TODOs 2016-11-17 23:26:02 -05:00
Liam Stanley
dbd17b1508 remove TODOs from main.go 2016-11-17 23:21:37 -05:00
Liam Stanley
3f24125c41 add TODO's to README.md 2016-11-17 23:20:42 -05:00
Liam Stanley
144c302829 convert quitChan to empty struct 2016-11-17 14:59:35 -05:00
Liam Stanley
2c74241e3f implement Client.SendRaw() and Client.SendRawf() 2016-11-17 14:55:09 -05:00
Liam Stanley
0beac6dcac implement Client.Notice() and Client.Noticef() 2016-11-17 10:26:33 -05:00
Liam Stanley
36fc7528ac add note about breaking changes 2016-11-14 07:02:31 -05:00
Liam Stanley
82ad653db3 set state to be internal only 2016-11-14 06:59:08 -05:00
Liam Stanley
1077762521 overhaul of docs; add additional Config.Disable* directives. 2016-11-14 06:50:14 -05:00
Liam Stanley
fb87d9ff51 update log format 2016-11-14 05:23:30 -05:00
Liam Stanley
f9a572c5fd use time.Since for simplicity 2016-11-14 05:20:45 -05:00
Liam Stanley
e783568bb9 fix bug with handleQUIT 2016-11-14 05:18:47 -05:00
Liam Stanley
7bea360e4e moar updaets 2016-11-14 02:31:21 -05:00
Liam Stanley
4b9bd1f19e update readme 2016-11-14 02:27:27 -05:00
Liam Stanley
55ac36775d update todos 2016-11-13 09:32:51 -05:00
Liam Stanley
45ce31d81b update example and add another callback example 2016-11-13 09:30:54 -05:00
Liam Stanley
179b4e3408 implement Client.RunCallbacks() 2016-11-13 09:28:53 -05:00
Liam Stanley
ef5e766162 remove indexByte 2016-11-13 09:23:05 -05:00
Liam Stanley
a1d4292a81 minor code refactoring 2016-11-13 09:21:54 -05:00
Liam Stanley
0897771bfb implement Event.IsAction() and Event.StripAction() 2016-11-13 09:10:34 -05:00
Liam Stanley
46ded10c5a implement Client.Action() and Client.Actionf() 2016-11-13 09:00:39 -05:00
Liam Stanley
b8c530fd21 implement Client.Message() and Client.Messagef() 2016-11-13 08:52:16 -05:00
Liam Stanley
9a47f38e51 add Client.ClearCallbacks() 2016-11-13 08:40:48 -05:00
Liam Stanley
9031f518e4 rename Client.Wait() to Client.Loop() 2016-11-13 08:17:41 -05:00
Liam Stanley
07d9aac94f revamp TODO's; add Client.Join() and Client.Part() 2016-11-13 06:44:12 -05:00
Liam Stanley
eb547066fa add hasQuit check, so Client.Reconnect() knows it's on purpose. 2016-11-13 06:29:00 -05:00
Liam Stanley
abfb85b949 bug fixes, add handleKICK, and handleNICK 2016-11-13 06:28:01 -05:00
Liam Stanley
f0541cd3c6 additional lock/unlocking issues 2016-11-13 05:46:44 -05:00
Liam Stanley
c78113dc51 finish implementing handleKICK 2016-11-13 05:46:32 -05:00
Liam Stanley
c76d4bd6d2 potentially fix events being dropped 2016-11-13 05:27:53 -05:00
Liam Stanley
747aa46bf3 correct logging. 2016-11-13 04:17:48 -05:00
Liam Stanley
ea1bbf5a94 add log lines and such 2016-11-13 04:16:01 -05:00
Liam Stanley
cfc7dbae39 spelling, doc 2016-11-13 03:38:07 -05:00
Liam Stanley
287561d336 update codebeat badge, add exampels link 2016-11-13 03:36:02 -05:00
Liam Stanley
9eb8365acb first commit 2016-11-13 03:30:43 -05:00