Commit Graph

206 Commits

Author SHA1 Message Date
Liam Stanley
c70ab81a96 implement Caller.sregister(); implement separated callback execution stacks; implement Caller.remove() 2016-12-13 20:19:36 -05:00
Liam Stanley
b0be7fb3d0 use variadic array for Client.Join(); update examples 2016-12-13 10:45:08 -05:00
Liam Stanley
ca0c2f5c29 re-order client.go 2016-12-13 10:24:51 -05:00
Liam Stanley
93b8616aac update examples to use new Client.Join() format 2016-12-13 10:23:19 -05:00
Liam Stanley
0cd3ff611d hasQuit->quitting; add stopChan; other minor bug fixes 2016-12-13 10:23:06 -05:00
Liam Stanley
4542506341 refactor Join()/Part(); implement JoinKey() and PartMessage() 2016-12-13 09:34:08 -05:00
Liam Stanley
74c53293ca remove potential for race conditions in state.go/helpers.go 2016-12-13 09:28:54 -05:00
Liam Stanley
cb43ed6d3f more towards TOPIC tracking; update readme 2016-12-10 07:16:01 -05:00
Liam Stanley
370f9f28ad rename state mux 2016-12-10 06:43:26 -05:00
Liam Stanley
009d49f258 rename SetNick()->Nick() 2016-12-10 05:58:42 -05:00
Liam Stanley
b32ff05c0a remove unneeded Client.Who(); update todos 2016-12-10 05:56:52 -05:00
Liam Stanley
c95d531783 implement Client.Topic() 2016-12-10 05:54:41 -05:00
Liam Stanley
817b616267 implement Client.Channels(); remove Client.GetChannels() 2016-12-10 05:22:06 -05:00
Liam Stanley
a693871695 implement Client.IsInChannel() 2016-12-10 04:14:03 -05:00
Liam Stanley
6f29f62e7f update examples link within readme 2016-12-10 04:08:31 -05:00
Liam Stanley
af9257e019 move examples into sub-package for better doc integration 2016-12-09 07:10:33 -05:00
Liam Stanley
e3f207c285 main.go->client.go, add doc.go for main documentation 2016-12-09 06:43:52 -05:00
Liam Stanley
b2cb425820 rename Source.User -> Ident 2016-12-09 06:34:38 -05:00
Liam Stanley
a3e7c18665 additional refactoring; use defer less until 1.8 is released 2016-12-09 06:30:06 -05:00
Liam Stanley
94dc6c4b6b normalize capitalization for cmds passsed to Caller 2016-12-09 06:09:33 -05:00
Liam Stanley
2539da6210 implement Caller.Count() 2016-12-09 06:04:49 -05:00
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