Commit Graph

212 Commits

Author SHA1 Message Date
Liam Stanley
3c7ab25c0e buffer 100 events rather than 40 2016-11-22 15:51:58 -05:00
Liam Stanley
db18e4cde1 add example to Format() 2016-11-22 14:49:20 -05:00
Liam Stanley
b3a8d41f87 second time is the charm 2016-11-22 13:56:53 -05:00
Liam Stanley
de0f929ffb better documentation padding? 2016-11-22 13:55:01 -05:00
Liam Stanley
85420256ae implement EventLimiter for rate limiting of sending events 2016-11-22 13:47:15 -05:00
Liam Stanley
144843520a update todo list 2016-11-22 11:21:49 -05:00
Liam Stanley
9b94cd1628 cleanup config validation, add Config.Conn, remove dial() 2016-11-22 11:21:25 -05:00
Liam Stanley
626f40e894 add doc about unicode codepoints and channel names 2016-11-22 10:18:19 -05:00
Liam Stanley
b666163985 implement IsValidUser() 2016-11-22 10:01:44 -05:00
Liam Stanley
525a5fdb4a NOTES 2016-11-22 00:28:33 -05:00
Liam Stanley
32452b2b94 panic when functionality that requires tracking but is disabled is used 2016-11-21 23:55:33 -05:00
Liam Stanley
3f271f3700 additional unit tests 2016-11-21 23:52:18 -05:00
Liam Stanley
754c0c6a77 additional unit tests and refactoring 2016-11-21 23:35:51 -05:00
Liam Stanley
c6ec7cbc20 update inv 2016-11-20 23:40:19 -05:00
Liam Stanley
758fa7094f add Format(), StripFormat(), and StripColors() 2016-11-20 23:19:39 -05:00
Liam Stanley
cc390d94dc prevent reconnect from looping on top of itself, add Client.Stop() 2016-11-19 12:36:33 -05:00
Liam Stanley
1fbfbd6a87 make Encoder, Decoder, Conn, all un-exported 2016-11-19 11:33:50 -05:00
Liam Stanley
cffade04c8 implement disconnected state. 2016-11-19 11:13:49 -05:00
Liam Stanley
9681ea7ea6 make Client.ReadLoop() un-exported 2016-11-19 10:55:36 -05:00
Liam Stanley
6e9255bc1f re-write Event.String() and add new stringer 2016-11-19 10:55:19 -05:00
Liam Stanley
42aff0e01d rename update sources under source.go 2016-11-19 09:46:20 -05:00
Liam Stanley
06f5c9b48d update docs for source.go 2016-11-19 09:45:36 -05:00
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