1
0
Fork 0

Commit Graph

  • 0b5bdf3dfb Fix merr.Error.FullString main Brian Picciano 2023-12-26 17:03:38 +0100
  • e8376ef263 Rename package name to code.betamike.com location Brian Picciano 2023-12-26 16:58:08 +0100
  • 7c425e25cb Fixes from golangci-lint Brian Picciano 2023-12-26 16:44:53 +0100
  • e2ac0ad45e Add link to documentation Brian Picciano 2023-12-26 16:43:05 +0100
  • aac8b11a01 Add miter package Brian Picciano 2023-12-26 16:39:56 +0100
  • c76720dffa Add nix flake for development Brian Picciano 2023-12-26 16:28:34 +0100
  • 9567a98606 Move massert into internal, and simplify it a lot Brian Picciano 2023-12-26 16:08:03 +0100
  • 7f1cf24293 Change LICENSE to WTFPL Brian Picciano 2023-12-26 16:05:30 +0100
  • 47c8c5b850 mlog: Make default message handler human readable Brian Picciano 2023-09-10 15:12:30 +0200
  • 07f3889a70 mlog: MaxLevel method Brian Picciano 2022-11-13 16:11:54 +0100
  • ec5e2441c6 mlog: Add WithMaxLevel method Brian Picciano 2022-11-13 16:05:23 +0100
  • cbeee71cb1 Add FatalString method, make Fatal take an error Brian Picciano 2022-05-05 19:17:45 -0600
  • ba9bc6c46c refactor mlog and merr to handle and format error messages better Brian Picciano 2021-04-09 18:05:07 -0600
  • 360d41e2b8 Refactor merr, remove almost everything else Brian Picciano 2021-04-09 17:30:59 -0600
  • 3e2713a850 Get rid of mcmp, and lots of subsequent refactors Brian P 2021-02-07 16:04:41 -0700
  • c20f884d68 mredis: fix how Block was being used, it wasn't being converted to an int properly gh-v1-backup Brian Picciano 2019-07-29 23:39:08 -0400
  • 0b5b5aac00 mredis: check for pending messages during the init stage Brian Picciano 2019-07-29 23:31:58 -0400
  • 4d859c6d02 mredis: implement Stream helper type Brian Picciano 2019-07-29 23:24:38 -0400
  • df01ccffcb mrand: implement NewSyncRand and use that for DefaultRand, to make it thread-safe Brian Picciano 2019-07-29 23:24:04 -0400
  • 0e64f16f03 mredis: initial implementation Brian Picciano 2019-07-16 00:42:01 -0400
  • d54954cd8e mrun: use mcmp.SeriesGetElement to iterate through hooks, so that hooks which get added while the iteration is happening (e.g. from CLISubCommand) can still get hit Brian Picciano 2019-07-09 20:54:31 -0400
  • de56d14739 mcmp: implement SeriesGetElement Brian Picciano 2019-07-09 20:53:27 -0400
  • b2aa2f73bd mnet: fix error handling during listen, to prevent a panic when a socket is taken Brian Picciano 2019-07-09 19:54:52 -0400
  • 398d887514 mpubsub: refactor to use components Brian Picciano 2019-06-23 12:56:03 -0600
  • b0ee70e585 msql: refactor to use components Brian Picciano 2019-06-23 12:55:55 -0600
  • f5b0e8e577 mdb: refactor to use Components Brian Picciano 2019-06-23 12:55:40 -0600
  • ecafe2922a mnet: fix some comments Brian Picciano 2019-06-23 12:55:27 -0600
  • 4791c02122 mcfg: implement ParamDefaultOrRequired Brian Picciano 2019-06-23 12:55:11 -0600
  • 481b3668c3 m: fix tests after having modified initializing logging Brian Picciano 2019-06-23 11:43:54 -0600
  • 1a6b8e3166 mlog: clean up component code and add tests for it Brian Picciano 2019-06-23 11:39:36 -0600
  • 752e266685 mcmp: make InheritedValue a function, not a method, and add Parent method to support it Brian Picciano 2019-06-23 11:17:48 -0600
  • 6cd61c60f7 add root Dockerfile which will build all binaries Brian Picciano 2019-06-18 00:12:54 -0400
  • 7a5ac9caa0 totp-proxy: refactor to use new Component logic Brian Picciano 2019-06-17 18:18:50 -0400
  • e91ef01857 m: refactor to use new Component stuff, and make the log logic a bit better Brian Picciano 2019-06-17 17:56:14 -0400
  • e741e79acf mhttp: refactor to use Components Brian Picciano 2019-06-17 17:14:00 -0400
  • d0ba23ac7b mnet: refactor to use Components Brian Picciano 2019-06-16 19:15:51 -0600
  • 7eac20f58b mlog: refactor From to include Component's Context implicitly Brian Picciano 2019-06-16 19:15:41 -0600
  • 7f9b0d5591 mcmp: make thread-safe, add InheritedValue, refactor Context/Annotation related methods Brian Picciano 2019-06-16 19:14:57 -0600
  • dedf3a0368 mcmp: rename GetSeries* functions to just Series* Brian Picciano 2019-06-15 17:52:55 -0600
  • af836c1cab mtest: refactor to use Component instead of Context Brian Picciano 2019-06-15 17:51:04 -0600
  • 31ed0fe625 mrun: fix Threads after changes to mctx which got rid of children Brian Picciano 2019-06-15 17:41:20 -0600
  • 8bd0664ba0 mlog: refactor to use Components instead of Contexts for storing Logger Brian Picciano 2019-06-15 17:35:17 -0600
  • 467bcbe52d mctx: refactor to no longer have parent/child logic Brian Picciano 2019-06-15 17:28:29 -0600
  • c98f154992 mrun: refactor hooks to use Components Brian Picciano 2019-06-15 17:13:00 -0600
  • dd2d601081 mcfg: refactor so as to use new mcmp.Component type, and use the option pattern to reduce number of arguments to parameters Brian Picciano 2019-06-15 16:45:53 -0600
  • a30edfb5f9 mcmp: initial implementation, intention is to use Component instead of Context for all component instantiation Brian Picciano 2019-06-15 12:36:10 -0600
  • e9b7f24dba mcfg: update docs Brian Picciano 2019-05-18 12:50:04 -0600
  • 60ea7d98eb mrun: update docs Brian Picciano 2019-05-18 12:36:53 -0600
  • d5044ad7cb mctx: add Annotated and polish documentation Brian Picciano 2019-05-18 12:15:35 -0600
  • a07df614d8 mcfg: make sure Populate never returns a nil context Brian Picciano 2019-04-29 20:58:13 -0400
  • 8db9e78e08 mcfg: add WithFloat64 and WithRequiredFloat64 Brian Picciano 2019-04-20 16:49:12 -0400
  • f4ad383c4a m: have log level depend on the kind of Context is being used (process or service) Brian Picciano 2019-04-06 16:30:55 -0400
  • 507c359997 mcfg: modify WithCLITail to allow modifying the Usage description Brian Picciano 2019-04-06 15:07:37 -0400
  • 99387d89ac mcfg: don't allow for empty sub-command, as that makes printing help weird Brian Picciano 2019-04-06 14:20:01 -0400
  • b35b44eb22 mcfg: implement WithCLISubCommand Brian Picciano 2019-04-04 14:21:44 -0400
  • 2eb4a37533 mcfg: make Parse and Populate return a Context, to allow for sub-commands Brian Picciano 2019-04-04 12:52:43 -0400
  • c0afa3d126 mcfg: Parse now takes a Context, which allows for implementing WithCLITail Brian Picciano 2019-04-04 12:20:40 -0400
  • a596306d9e mcfg: made SourceCLI and SourceEnv be pointers Brian Picciano 2019-04-04 10:57:37 -0400
  • 7752b569c3 m: add ProcessContext and rework where configuration comes from a bit Brian Picciano 2019-04-02 23:35:45 -0400
  • ea72c49935 mcfg: implement SourceCLI.TailCallback (though I'm not convinced about the naming or necessity of it) Brian Picciano 2019-04-02 23:21:16 -0400
  • f5cea76cb7 mtest/massert: rename a bunch of functions Brian Picciano 2019-03-10 19:23:37 -0400
  • 2496b170d8 mtest/massert: ensure that values being asserted are captured at the moment the assertion is made Brian Picciano 2019-03-09 12:14:00 -0500
  • 2343bda42a m: add log message in Start once the start hooks have finished Brian Picciano 2019-03-03 15:35:49 -0500
  • 3d939a1e80 mrun: fix bug in retrieving set of hooks/children from a context, and simplify the logic a bit Brian Picciano 2019-03-03 15:34:44 -0500
  • 015edcd69a mnet: fix PacketConn closing Brian Picciano 2019-03-01 14:37:41 -0500
  • a52230b972 mnet: fix PacketConn support again Brian Picciano 2019-03-01 14:36:16 -0500
  • 5bd3bf1d6d mnet: fix PacketConn support Brian Picciano 2019-03-01 14:21:43 -0500
  • 14de888300 mnet: use ListenerOpts pattern Brian Picciano 2019-03-01 14:06:25 -0500
  • 4536db8968 merr: refactor Wrap/WrapSkip/New to take multiple contexts rather than annotations Brian Picciano 2019-02-27 13:05:51 -0500
  • 4303da03cc merr/mctx: move stack code into merr Brian Picciano 2019-02-27 12:18:56 -0500
  • 553a4854ea mrun: change WithThread to WithThreads Brian Picciano 2019-02-24 17:38:05 -0500
  • dc57aadb54 m: don't log before populating params Brian Picciano 2019-02-24 17:25:53 -0500
  • dd7bc43cf8 m: rename Start to StartWaitStop, Start is a different function which only populates config and runs start hooks Brian Picciano 2019-02-24 17:23:38 -0500
  • 3aa69c5878 mdb/msql: add SQL.Context method Brian Picciano 2019-02-24 17:07:35 -0500
  • 604da54903 mdb/msql: implement basic MySQL connector Brian Picciano 2019-02-24 16:30:53 -0500
  • 12bddbf108 add go.mod file to the project Brian Picciano 2019-02-24 15:48:36 -0500
  • e1e52db208 refactor everything to use context's annotation system, making some significant changes to annotations themselves along the way Brian Picciano 2019-02-09 14:08:30 -0500
  • 000a57689d mctx: implement beginnings of Annotations functionality Brian Picciano 2019-02-08 18:44:20 -0500
  • 4b446a0efc mctx: refactor so that contexts no longer carry mutable data Brian Picciano 2019-02-05 15:18:17 -0500
  • 0c2c49501e mctx: refactor implementation of Context to not use a state stored as a value, but to just wrap a context.Context Brian Picciano 2019-02-03 19:25:46 -0500
  • 5dc8d92987 mdb/mpubsub: refactor to use new mctx/mlog/mcfg stuff Brian Picciano 2019-02-03 16:05:46 -0500
  • 8ddf1348db mdb/mdatastore: refactor to use new mctx/mlog/mcfg stuff Brian Picciano 2019-02-03 16:05:33 -0500
  • 40794d83b8 mdb/mbigtable: refactor to use new mctx/mlog/merr stuff Brian Picciano 2019-02-02 21:57:11 -0500
  • a5446b0833 mdb/mbigquery: refactor to use new mctx/mlog/merr stuff Brian Picciano 2019-02-02 21:56:54 -0500
  • 608eb90274 mdb: refactor to use new mctx stuff Brian Picciano 2019-02-02 21:56:32 -0500
  • f783b62f6f mtest: implement NewCtx and Run, and use them in mnet and mhttp's tests Brian Picciano 2019-02-02 20:58:18 -0500
  • c6e29715b0 merr: implement WithKV Brian Picciano 2019-02-02 20:18:39 -0500
  • 526639041b mnet: make sure listen-addr param's usage starts with uppercase Brian Picciano 2019-02-02 19:55:42 -0500
  • f02f2904b0 mcfg: ensure all usages end in a period when printing help to cli Brian Picciano 2019-02-02 19:35:30 -0500
  • 6adfbdbcfb m: implement NewServiceCtx, use it in totp-proxy Brian Picciano 2019-02-02 19:27:28 -0500
  • 15b84cb173 mlog: implement LevelFromString Brian Picciano 2019-02-02 19:27:10 -0500
  • 20c6f95091 mlog: refactor to use Clone/Set instead of With pattern, implement CtxSetAll Brian Picciano 2019-01-30 16:06:24 -0500
  • 5bd0790f6e mctx: implement BreadthFirstVisit Brian Picciano 2019-01-30 16:04:58 -0500
  • 8e2cffd65b mcfg: make ParamValue not embed Param, so that a Source which is []ParamValue makes sense, and can replace SourceMap Brian Picciano 2019-01-25 17:33:36 -0500
  • ddd26259b2 merr: make New take in optional key/value pairs for convenience Brian Picciano 2019-01-25 17:32:53 -0500
  • b33b157e15 mcfg: update docs to make running Populate more than once explicitly allowed Brian Picciano 2019-01-25 16:46:39 -0500
  • a24262f295 mlog: update function docs Brian Picciano 2019-01-25 16:39:57 -0500
  • e9416dbe2a mlog: update package doc example Brian Picciano 2019-01-25 16:29:22 -0500
  • 79bf3d6f89 totp-proxy: update to use new mctx/mcfg/mrun framework Brian Picciano 2019-01-24 22:05:17 -0500
  • a00a268256 m: implement Run function, which glues together mcfg.Populate, mrun.Start, and mrun.Stop Brian Picciano 2019-01-24 22:04:58 -0500