Brian Picciano
e1e52db208
refactor everything to use context's annotation system, making some significant changes to annotations themselves along the way
2019-02-24 15:36:07 -05:00
Brian Picciano
4b446a0efc
mctx: refactor so that contexts no longer carry mutable data
...
This change required refactoring nearly every package in this project,
but it does a lot to simplify mctx and make other code using it easier
to think about.
Other code, such as mlog and mcfg, had to be slightly modified for this
change to work as well.
2019-02-07 19:42:12 -05:00
Brian Picciano
6adfbdbcfb
m: implement NewServiceCtx, use it in totp-proxy
2019-02-02 19:27:28 -05:00
Brian Picciano
20c6f95091
mlog: refactor to use Clone/Set instead of With pattern, implement CtxSetAll
2019-01-30 16:06:24 -05:00
Brian Picciano
79bf3d6f89
totp-proxy: update to use new mctx/mcfg/mrun framework
2019-01-24 22:05:17 -05:00
Brian Picciano
7f0b8056d7
m: add CfgSource and use it in all current cmds
2018-08-13 21:09:20 -04:00
Brian Picciano
0e9b7245be
totp-proxy: add Dockerfile
2018-08-09 18:42:59 -06:00
Brian Picciano
8a0c508445
cmd/totp-proxy: initial implementation
2018-08-09 18:05:32 -06:00