Commit Graph

218 Commits

Author SHA1 Message Date
Liam Stanley
e07de58e97 update TODOs 2016-12-15 00:31:50 -05:00
Liam Stanley
fea3c94367 re-implement Client.Whowas(); implement Client.Who() 2016-12-14 01:49:43 -05:00
Liam Stanley
6f89a46cc5 drop callback type functionality for wrapping background callbacks in a go-routine; drop Caller.AddBgHandler() 2016-12-14 01:31:25 -05:00
Liam Stanley
467ab74b70 execute standard callbacks in a waitgroup 2016-12-14 00:54:15 -05:00
Liam Stanley
a5915e8e4b add ctcp to TODO's 2016-12-13 21:39:08 -05:00
Liam Stanley
3834924067 implement Channel.Lifetime() 2016-12-13 21:32:42 -05:00
Liam Stanley
1fe1ddd565 fix callback goroutines 2016-12-13 21:26:48 -05:00
Liam Stanley
dbab766dc3 fix minor bugs with state mutex locking; add support to fetch user realnames during WHO 2016-12-13 21:26:37 -05:00
Liam Stanley
f187f3abc6 implement User LastActive, Lifetime(), Active() and IsActive() 2016-12-13 21:26:09 -05:00
Liam Stanley
ebb5f714c5 remove ErrCallbackTimedout 2016-12-13 20:47:52 -05:00
Liam Stanley
842589b98e update TODO 2016-12-13 20:32:04 -05:00
Liam Stanley
0927400902 remove Client.Whowas() 2016-12-13 20:31:39 -05:00
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