Commit Graph

285 Commits

Author SHA1 Message Date
Liam Stanley
af7a7c0e20 more minor documentation syntax changes 2016-12-09 05:58:18 -05:00
Liam Stanley
867d8345e4 minor doc syntax changes 2016-12-09 05:52:38 -05:00
Liam Stanley
f4cef5f5b9 add more documentation; add success return value to Caller.Remove() 2016-12-09 05:47:53 -05:00
Liam Stanley
2477ef33aa state should never be nil 2016-12-09 05:37:01 -05:00
Liam Stanley
31f97aac8b rename Uptime->Lifetime, ConnTime->Uptime 2016-12-09 05:32:50 -05:00
Liam Stanley
9d2966d608 rewrite callbacks to use more flexible storage system 2016-12-07 05:50:14 -05:00
Liam Stanley
0e82bdb296 update codebeat badge 2016-12-07 01:27:17 -05:00
Liam Stanley
7864da7d00 Liamraystanley -> lrstanley 2016-12-07 00:15:02 -05:00
Liam Stanley
81eadb808a add todos 2016-12-06 23:49:04 -05:00
Liam Stanley
06dd8eab61 update ErrNotConnected text 2016-12-06 19:42:00 -05:00
Liam Stanley
00994b4e8a update todos 2016-12-06 19:41:05 -05:00
Liam Stanley
54c3215dd4 utilize ErrNotConnected within helper functions 2016-12-06 19:39:54 -05:00
Liam Stanley
6adc5ee783 update ErrCallbackTimeout to be a struct-based type 2016-12-06 19:27:25 -05:00
Liam Stanley
3d7e8da8b2 implement validation to many of the helper functions 2016-12-06 19:17:35 -05:00
Liam Stanley
29612d0d29 support errors for common helper functions like Client.Message() 2016-12-04 22:09:03 -05:00
Liam Stanley
d94de12e6b implement Client.ConnTime() and Client.ConnSince() 2016-11-24 19:18:39 -05:00
Liam Stanley
4f1db5bec3 update examples to be multiple different files 2016-11-23 13:01:10 -05:00
Liam Stanley
e1f615a88f implement experimental Whowas which uses tmp callbacks 2016-11-23 12:46:12 -05:00
Liam Stanley
e2dc1968e6 rewrite much of the callback execution functionality 2016-11-23 12:40:14 -05:00
Liam Stanley
f8dfa67b5d add name field to Users 2016-11-23 12:39:52 -05:00
Liam Stanley
e11b8bc1ea move writer and reader to state; fix Client.Reconnect() 2016-11-22 22:03:48 -05:00
Liam Stanley
7385d47e73 remove Sender; merge with event.go 2016-11-22 21:58:26 -05:00
Liam Stanley
b53fcecfc5 fix docs; strip newlines from events during byte and string conversion 2016-11-22 19:32:14 -05:00
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