Brian Picciano
91f56cb40c
mdb: add GCE type, refactor PubSub configuration a bit
2018-07-18 23:14:18 +00:00
Brian Picciano
6c17eaa62f
mlog: implement KVerFunc and Prefix
2018-07-18 23:01:28 +00:00
Brian Picciano
0a4be2f8cd
massert: implement Len
2018-07-16 00:38:00 +00:00
Brian Picciano
d3a81f9613
massert: implement HasKey
2018-07-16 00:08:23 +00:00
Brian Picciano
69e3019fbf
massert: implement Subset, Has, Fatal, and Error
2018-07-08 18:19:09 +00:00
Brian Picciano
c297e09446
massert: add All, None, Any, AnyOne, and flesh out tests
2018-07-07 17:43:14 +00:00
Brian Picciano
1b26e2958a
massert: initial implementation
2018-07-05 00:09:53 +00:00
Brian Picciano
402aa13495
mtest: implement Checker, a very basic property checker
2018-07-03 18:18:51 +00:00
Brian Picciano
1be0072701
mtest->mrand: move rand functionality from mtest into its own package
2018-07-03 00:20:00 +00:00
Brian Picciano
f9ec4d7bce
mtest: implement RandElement
2018-07-02 23:42:54 +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
Brian Picciano
15efa4ba3a
mlog: refactor to handle certain use cases better, and make KV merging more consistent
...
Logger is now initialized with its WriteCloser (which can never change
after initialization) and then has its properties modified via method
calls. These method calls return new copies of the Logger, all writing
to the same original WriteCloser still. This allows for doing things
like having a Logger within some entity that has its own KV, for
example.
Also I revamped the merging code a bit, and fixed a precedence
inconsitency in ErrWithKV and CtxWithKV.
2018-05-28 07:53:39 +00:00
Brian Picciano
7db5197a1e
mcfg: add some helper methods to Cfg related to its Path
2018-05-28 03:10:57 +00:00
Brian Picciano
4e0d440d09
mcfg: refactor slightly to separate Run into StartRun and StopRun
2018-05-28 02:39:56 +00:00
Brian Picciano
12df459840
mhttp: initial implementation, very basic
2018-05-27 07:59:25 +00:00
Brian Picciano
c5c11dc067
mcfg: make Child set its hooks to happen _then_, not recursively/concurrently during the parents', otherwise you can't effect a child's behavior with parent configs (e.g. changing the handler being passed into an http server)
2018-05-27 07:58:51 +00:00
Brian Picciano
feed62d7d9
mtime: fix older package doc not having been deleted
2018-05-27 07:57:23 +00:00
Brian Picciano
fa41ab5a01
Implementation of jstream
2018-04-09 17:22:52 +00:00
Brian Picciano
58837a8186
README: add styleguide section
2018-03-26 10:54:01 +00:00
Brian Picciano
b30ccf4db8
mcrypto: move SignVerifier code into Secret, to account for encrypting later on
2018-03-26 10:53:49 +00:00
Brian Picciano
d4c665c4d5
mcrypto: change UUID implementation to keep inner data as []byte instead of string
2018-03-23 15:56:27 +00:00
Brian Picciano
02a4cf7c30
implement mcrypto.Public/PrivateKey types and have them implement Signer/Verifier
2018-03-23 15:46:14 +00:00
Brian Picciano
9b6c42572c
refactor mcrypto signature code to have an actual Signature type which implicitely handles its salt and timestamp
2018-03-23 15:15:55 +00:00
Brian Picciano
56dbb1827e
implement basic mrpc functionality
2018-03-19 17:14:50 +00:00
Brian Picciano
50db101620
implement mcrypto.Signer
2018-03-12 12:29:51 +00:00
Brian Picciano
a2b6f56876
implement mcrypto.UUID
2018-03-11 18:25:04 +00:00
Brian Picciano
d3259d45f8
implement mdb.PubSub
2018-02-15 22:47:18 +00:00
Brian Picciano
0feba17791
give mcfg.Cfg a TestRun method which can be used during tests
2018-02-15 22:46:32 +00:00
Brian Picciano
93cfa66c4b
rename some mlog files, change KVer interface slightly
2018-02-15 21:23:04 +00:00
Brian Picciano
3d43caba18
implement mcfg package, which includes both configuration, runtime setup, and organizing both into heirarchies
2018-02-14 18:24:54 +00:00
Brian Picciano
3f2f00d367
implement mtest package
2018-02-11 16:05:36 +00:00
Brian Picciano
0b9c02c62a
implement mlog logging system, which also implements functionality for embedding KV logging data in contexts and errors
2018-02-04 17:01:21 +00:00
Brian Picciano
1276c31fe9
add mtime package
2018-01-11 20:26:27 +00:00
Brian Picciano
5f8eb46c51
Initial commit
2018-01-11 15:47:01 +00:00