Commit Graph

  • 05a69589bc mcfg: use merr for returned errors, and make help output prioritize required params towards the top Brian Picciano 2019-01-24 22:02:04 -0500
  • ef2e76de45 mhttp: implement MListenAndServe, using new mctx/mrun/mcfg framework Brian Picciano 2019-01-24 19:23:04 -0500
  • a0a531cdd2 mnet: add MListener.CloseOnStop, to allow for http.Server.Shutdown (and other entities) closing the listener instead Brian Picciano 2019-01-24 19:19:57 -0500
  • 5f864c44f2 mrun: make Thread's callback not take in a context, it doesn't really help anything Brian Picciano 2019-01-24 19:18:44 -0500
  • bd4d7fc9e3 mnet: export MListener and add some debug logging Brian Picciano 2019-01-24 16:54:38 -0500
  • 405120513f merr: move With/GetValue to kv.go, make nil error behavior be explicitly defined and tested Brian Picciano 2019-01-24 16:45:38 -0500
  • 0e80e1fd3d mlog: remove ErrKV/ErrWithKV, merr.KV/merr.WithValue are used instead Brian Picciano 2019-01-14 23:55:22 -0500
  • 56f3e71acd merr: initial implementation, designed to replace merry and work nicely with mlog, while allowing support for multi-errors and other niceties in the future Brian Picciano 2019-01-13 20:08:38 -0500
  • 33a10a4ac7 mlog: make the map returned from a KVer be read-only and allowed to be nil Brian Picciano 2019-01-14 22:47:16 -0500
  • 1562c4e8f6 mlog: redefine KVer to return a map[string]interface, not a KV, to allow other packages to implement KVer without importing mlog Brian Picciano 2019-01-14 22:32:26 -0500
  • fe07e1cfdc mnet: better logging for MListen Brian Picciano 2019-01-12 21:01:16 -0500
  • 57db101c02 mlog: add Logger.WithKV, slightly change Message type to support it Brian Picciano 2019-01-12 21:01:00 -0500
  • 448008cb7c mrun: move Hook code into hook.go Brian Picciano 2019-01-12 20:14:02 -0500
  • 0fb0cb92a0 mnet: ListenerOnStart -> MListen, and have it close on mrun.Stop Brian Picciano 2019-01-12 20:11:22 -0500
  • 0ef6997f40 mlog: fix bug which caused the DefaultHandler to not ever call Flush Brian Picciano 2019-01-12 20:10:45 -0500
  • ee77656f39 mrun: rename functions and add another trigger function which will run hooks in reverse, for use in OnStop Brian Picciano 2019-01-12 19:55:41 -0500
  • 8a8cebd127 mnet: implement ListenerOnStart Brian Picciano 2019-01-11 17:47:30 -0500
  • 96db88b7d0 mcfg: allow Source param to Populate to be nil Brian Picciano 2019-01-11 17:44:53 -0500
  • 57c400a151 mrun: update docs a bit Brian Picciano 2019-01-10 18:12:39 -0500
  • 48bb21668a mrun: implement rudimentary event system built on top of mctx Brian Picciano 2019-01-10 17:58:29 -0500
  • 92ecb09707 mctx: make GetSetMutableValue lock on the key itself, not the entire map, to allow more throughput when being used on multiple keys at once Brian Picciano 2019-01-10 17:22:58 -0500
  • 6e8338a5f8 mcfg: refactor to remove Child and Hook stuff, and use mctx instead Brian Picciano 2019-01-08 14:21:55 -0500
  • 57bd022093 mrun: implement Thread and Wait Brian Picciano 2018-12-05 23:40:46 -0500
  • 2f647017b9 mlog: add CtxSet and From functions Brian Picciano 2018-11-30 18:50:23 -0500
  • 2e269bb6e7 mlog: refactor to use a Stringer for Message.Description Brian Picciano 2018-11-30 18:50:08 -0500
  • b5c676b5c8 mlog: complete refactor again, eliminating the go-routine, which allowed a lot of other things to fall into place nicely Brian Picciano 2018-11-30 16:27:18 -0500
  • 47061cec4e mctx: add Root function, and update some docs Brian Picciano 2018-11-30 15:08:39 -0500
  • cb65787f37 mctx: GetSetMutableValue. Not sure if I'm really going to use this or not Brian Picciano 2018-10-28 22:17:33 -0400
  • e349d0fbd8 mctx: moved ctx code from m and kept fleshing it out, trying to figure out how to incorporate Logger Brian Picciano 2018-10-28 19:34:26 -0400
  • 6c055d0255 m: WIP on moving the child logic out of mcfg.Cfg and into contexts Brian Picciano 2018-10-28 15:59:49 -0400
  • 5c85969bc7 mlog: use a Clone and Set methods instead of With methods Brian Picciano 2018-10-28 15:09:42 -0400
  • 910704ae67 massert: add Err and Errf functions Brian Picciano 2018-10-28 15:09:14 -0400
  • d9480abb59 mlog: make stopping logic a little better Brian Picciano 2018-10-28 14:10:11 -0400
  • 23045168cf massert: make most assertions handle the case of a reference type, like a map, being changed before Assert is called Brian Picciano 2018-10-15 14:34:10 -0400
  • bc8f323514 mlog: use a waitgroup to flush the Logger on Stop Brian Picciano 2018-08-27 15:18:38 -0400
  • c66f13927a mchk: implement failing test case minimization Brian Picciano 2018-08-21 14:45:15 -0400
  • 4a842fbea1 mchk: remove typeName in params printing, it wasn't really helping Brian Picciano 2018-08-14 16:18:34 -0400
  • 235e9a1850 massert: make Len error a bit more helpful Brian Picciano 2018-08-14 15:38:24 -0400
  • 7f0b8056d7 m: add CfgSource and use it in all current cmds Brian Picciano 2018-08-13 21:09:20 -0400
  • 132c51eaf0 mcfg: move Path out of ParamValue and into Param, which allows for shuffling around a whole bunch of code to make things make a bit more sense Brian Picciano 2018-08-13 21:02:06 -0400
  • 3de30eb819 mcfg: centralize logic for fuzzy parsing strings, use it to implement SourceMap Brian Picciano 2018-08-13 20:44:03 -0400
  • 8ff2abf02c mcfg: implement Sources Brian Picciano 2018-08-13 20:15:54 -0400
  • be17ee942a mcfg: simplify populateParams Brian Picciano 2018-08-13 20:05:22 -0400
  • 2e9790451f mcfg: implement SourceEnv, and move a bunch of code it shares with SourceCLI to source(_test).go Brian Picciano 2018-08-13 19:40:41 -0400
  • 526e35cf3f mrand: fix bug in Hex with it not outputting correct number of characters for odd number inputs Brian Picciano 2018-08-13 19:40:15 -0400
  • 8084268bbf mcfg: shuffle some code around so there's a common way of retrieving all ParamValues out of a Cfg Brian Picciano 2018-08-13 18:44:46 -0400
  • 715b6c9491 mchk: move mtest.Checker to mtest/mchk, and refactor its types a little bit Brian Picciano 2018-08-13 15:03:30 -0400
  • 1964add0ed mcfg: refactor cli test to use mtest.Checker Brian Picciano 2018-08-13 14:17:53 -0400
  • 9ccc787066 mtest: refactor Run a bit Brian Picciano 2018-08-13 12:06:05 -0400
  • c850ace8d2 mtest: add Terminate field to Action Brian Picciano 2018-08-13 11:57:33 -0400
  • 7861cf148e mcfg: always lowercase param and child names Brian Picciano 2018-08-13 11:50:57 -0400
  • 0e9b7245be totp-proxy: add Dockerfile Brian Picciano 2018-08-09 18:42:59 -0600
  • 8a0c508445 cmd/totp-proxy: initial implementation Brian Picciano 2018-08-09 18:05:32 -0600
  • 196df2b739 mcfg: add ParamJSON and fix required params error message Brian Picciano 2018-08-09 18:05:04 -0600
  • 362207b002 mcrypto: fix docs a bit Brian Picciano 2018-08-09 18:04:39 -0600
  • e5d1802fa2 mhttp: implement ReverseProxy Brian Picciano 2018-08-09 14:02:11 -0600
  • 32a44a2033 mhttp: implement AddXForwardedFor Brian Picciano 2018-08-09 13:20:16 -0600
  • dcf9f73bcb mnet: implement IsReservedIP Brian Picciano 2018-08-09 12:34:09 -0600
  • bc97c948bf mbigtable: implement basic cfg and basic tests Brian Picciano 2018-07-21 19:56:40 +0000
  • ebfdfbe245 mdatastore: implement basic initialization code Brian Picciano 2018-07-19 20:11:21 +0000
  • 2ab7b72b5f mdb: write missing package docs Brian Picciano 2018-07-19 19:38:56 +0000
  • 0a96d5c61e m: add TODO to figure out wtf to do about m.Log Brian Picciano 2018-07-19 19:37:05 +0000
  • 8368d0881b mlog: change how Merge/MergeInto work, so they don't evaluate the KV immediately Brian Picciano 2018-07-19 18:43:17 +0000
  • f0032a19d1 mlog: refactor tests to use massert Brian Picciano 2018-07-19 18:19:26 +0000
  • 58fd73d540 mtest: implement Nil Brian Picciano 2018-07-19 18:04:08 +0000
  • eaaf0b99cb mdb: break each inner database into its own package Brian Picciano 2018-07-19 17:43:18 +0000
  • 23d1a8fc91 mdb: implement BigQuery type, needs tests Brian Picciano 2018-07-18 23:51:24 +0000
  • 789555eb3a mdb: update PubSubs's error logging Brian Picciano 2018-07-18 23:50:40 +0000
  • 91f56cb40c mdb: add GCE type, refactor PubSub configuration a bit Brian Picciano 2018-07-18 23:14:18 +0000
  • 6c17eaa62f mlog: implement KVerFunc and Prefix Brian Picciano 2018-07-18 23:01:28 +0000
  • 0a4be2f8cd massert: implement Len Brian Picciano 2018-07-16 00:38:00 +0000
  • d3a81f9613 massert: implement HasKey Brian Picciano 2018-07-16 00:08:23 +0000
  • 69e3019fbf massert: implement Subset, Has, Fatal, and Error Brian Picciano 2018-07-08 18:19:09 +0000
  • c297e09446 massert: add All, None, Any, AnyOne, and flesh out tests Brian Picciano 2018-07-07 17:43:14 +0000
  • 1b26e2958a massert: initial implementation Brian Picciano 2018-07-05 00:09:53 +0000
  • 402aa13495 mtest: implement Checker, a very basic property checker Brian Picciano 2018-07-03 18:18:51 +0000
  • 1be0072701 mtest->mrand: move rand functionality from mtest into its own package Brian Picciano 2018-07-03 00:20:00 +0000
  • f9ec4d7bce mtest: implement RandElement Brian Picciano 2018-07-02 23:42:54 +0000
  • 5adbae953b m: implement Log, have mdb.PubSub and mhttp.CfgServer use it, though I'm still not quite happy with it yet Brian Picciano 2018-05-28 08:00:31 +0000
  • 15efa4ba3a mlog: refactor to handle certain use cases better, and make KV merging more consistent Brian Picciano 2018-05-28 05:47:23 +0000
  • 7db5197a1e mcfg: add some helper methods to Cfg related to its Path Brian Picciano 2018-05-28 03:10:57 +0000
  • 4e0d440d09 mcfg: refactor slightly to separate Run into StartRun and StopRun Brian Picciano 2018-05-28 02:39:56 +0000
  • e5fbacbd30 WIP jstreamrpc: messing around with example mrpc Brian Picciano 2018-05-27 07:21:05 +0000
  • 196e119c30 WIP jstream: working on channel functionality in jstream Brian Picciano 2018-05-27 04:33:30 +0000
  • d20ad7830c jstream: normalize type names to make a bit more sense everywhere Brian Picciano 2018-05-27 03:38:03 +0000
  • dbc9d32193 WIP jstreamrpc: I don't even know Brian Picciano 2018-05-17 10:50:39 +0000
  • 816a2575a0 WIP jstreamrpc: still trying to figure out how to mesh jstream with jstreamrpc Brian Picciano 2018-05-17 10:29:42 +0000
  • 6b6355d77f jstream: refactor how jstream.Element works to allow for double discarding Brian Picciano 2018-05-17 10:01:02 +0000
  • 131ad8a718 WIP jstreamrpc: use new jstream decoding method names Brian Picciano 2018-05-17 09:13:30 +0000
  • f47e8215eb jstream: rename decode methods, ensure Discard properly handles partially consumed elements Brian Picciano 2018-05-17 09:13:10 +0000
  • 92d026f53d WIP mrpc/jstreamrpc trying to make the types work with jstreamrpc Brian Picciano 2018-05-16 12:56:06 +0000
  • bb0eeaff16 WIP mrpc wrote some docs, tried to make some progress on request/response types Brian Picciano 2018-05-16 12:19:31 +0000
  • 0460a7745c WIP mrpc refactor to use Request/ResponseWriter/Response, not sure if I like it or not Brian Picciano 2018-05-10 03:29:32 +0000
  • dfa32aa6d9 WIP mrpc/jstreamrpc make jstreamrpc simpler and implement mrpc.Debug Brian Picciano 2018-04-27 08:03:39 +0000
  • bdfd7500fb WIP jstreamrpc began implementation, found lots of weird holes in the spec that need to be addressed Brian Picciano 2018-04-14 10:45:58 +0000
  • 2e8ef0e12a WIP mrpc make Call be a struct, not an interface Brian Picciano 2018-04-14 10:45:11 +0000
  • 7d74bafdb4 jstream: implement Element.Discard Brian Picciano 2018-04-14 10:05:05 +0000
  • 5626f9171b WIP mrpc update proto.md to use jstream Brian Picciano 2018-04-12 11:35:04 +0000
  • fc853e739c mrpc WIP proto.md Brian Picciano 2018-03-19 23:07:07 +0000
  • 12df459840 mhttp: initial implementation, very basic Brian Picciano 2018-05-27 07:59:25 +0000