Brian Picciano
f5cea76cb7
mtest/massert: rename a bunch of functions
2019-03-10 19:23:37 -04:00
Brian Picciano
14de888300
mnet: use ListenerOpts pattern
2019-03-01 14:06:25 -05:00
Brian Picciano
553a4854ea
mrun: change WithThread to WithThreads
2019-02-24 17:38:05 -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
f783b62f6f
mtest: implement NewCtx and Run, and use them in mnet and mhttp's tests
2019-02-02 20:58:18 -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
ef2e76de45
mhttp: implement MListenAndServe, using new mctx/mrun/mcfg framework
2019-01-24 19:23:04 -05:00
Brian Picciano
e5d1802fa2
mhttp: implement ReverseProxy
2018-08-09 14:02:11 -06:00
Brian Picciano
32a44a2033
mhttp: implement AddXForwardedFor
2018-08-09 13:20:16 -06: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
Brian Picciano
12df459840
mhttp: initial implementation, very basic
2018-05-27 07:59:25 +00:00