Brian Picciano
dc57aadb54
m: don't log before populating params
2019-02-24 17:25:53 -05:00
Brian Picciano
dd7bc43cf8
m: rename Start to StartWaitStop, Start is a different function which only populates config and runs start hooks
2019-02-24 17:23:38 -05:00
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
a00a268256
m: implement Run function, which glues together mcfg.Populate, mrun.Start, and mrun.Stop
2019-01-24 22:04:58 -05:00
Brian Picciano
e349d0fbd8
mctx: moved ctx code from m and kept fleshing it out, trying to figure out how to incorporate Logger
2018-10-28 19:34:26 -04:00
Brian Picciano
6c055d0255
m: WIP on moving the child logic out of mcfg.Cfg and into contexts
2018-10-28 15:59:49 -04:00
Brian Picciano
7f0b8056d7
m: add CfgSource and use it in all current cmds
2018-08-13 21:09:20 -04:00
Brian Picciano
0a96d5c61e
m: add TODO to figure out wtf to do about m.Log
2018-07-19 19:37:05 +00:00
Brian Picciano
5adbae953b
m: implement Log, have mdb.PubSub and mhttp.CfgServer use it, though I'm still not quite happy with it yet
2018-05-28 08:00:31 +00:00