Commit Graph

18 Commits

Author SHA1 Message Date
saxon ce92dd37d8 stream/mts/meta: added Keys() func and appropriate testing
A meta.Keys(d []byte) []string, error func has been added that will extract the keys of a metadata string. A test has also been added
to test that this function performs as expected.
2019-02-10 08:58:38 +10:30
saxon 1f3d34b6bb stream/mts/meta/meta_test.go: corrected func comment for TestGetFrom 2019-02-09 22:27:25 +10:30
saxon e796a5a3b7 stream/mts/meta: updating function comments and test function names according to Extract->Get and ExtractAll->GetAll change 2019-02-09 12:16:57 +10:30
saxon f9d8accdae stream/mts/meta/meta.go: Extract and ExtractAll to Get and GetAll 2019-02-09 12:14:32 +10:30
saxon fadc1fed1b stream/mts/meta: added ExtractAll func and added testing utilities 2019-02-08 21:31:00 +10:30
saxon db3b34c10f stream/mts/meta: meta.Delete no longer returns error - updated code accordingly 2019-02-08 10:56:19 +10:30
saxon a94bdbfe47 stream/mts/meta: meta.Get now returns ok bool rather than error - updated usage accordingly 2019-02-08 10:25:57 +10:30
saxon b8fc6d7e99 stream/mts/meta/meta.go: ReadFrom to Extract 2019-02-07 14:50:31 +10:30
saxon 66a2325dcb stream/mts/meta/meta_test.go: using table of tests for TestReadFrom 2019-02-07 10:42:01 +10:30
saxon f96f761b2f stream/mts/meta/meta_test.go: fixed up error logging in meta_test.go i.e. not doing err.Error() for %v format specifiers, and not using t.Errorf when we have no arguments 2019-02-07 09:01:40 +10:30
saxon 9b5eb558ef stream/mts/meta/meta_test.go: Updated func comment for TestReadFrom 2019-02-06 00:01:17 +10:30
saxon 35c06c97aa stream/mts/meta/meta_test.go: not using global vars for errors 2019-02-05 23:57:53 +10:30
saxon dc46d9f0b2 stream/mts/encoder.go: not doing scoped conditional in writePSI when calling updateMeta 2019-02-05 23:18:05 +10:30
saxon ad25785b77 stream/mts/meta/meta_test.go: improved ReadFrom by checking for valid header 2019-02-04 22:48:51 +10:30
saxon 4d4a8e04ec stream/mts/meta/meta_test.go: created global err vars 2019-02-01 11:17:53 +10:30
saxon 38d5d6f0fd stream/mts/meta/meta_test.go: adding test for ReadFrom 2019-02-01 09:27:43 +10:30
saxon 1f1546a284 revid: updated code in senders.go to work with meta changes 2019-01-31 21:30:08 +10:30
saxon 10343375a3 stream/mts: moved meta.go and meta_test.go into meta package 2019-01-31 21:23:06 +10:30