saxon
|
960c110acb
|
stream/mts/meta.go: fixed Meta.Encode() func so that it calculates data length correctly
|
2019-01-28 17:45:38 +10:30 |
saxon
|
7d34fa1969
|
stream/mts/meta.go: completed Meta.Encode() function
|
2019-01-28 17:29:15 +10:30 |
saxon
|
7fc2b76e6b
|
stream/mts/meta_test.go: added TestDeleteKeyAbsent to check that we get correct err when we try to delete data of key that doesn't exist
|
2019-01-27 18:24:26 +10:30 |
saxon
|
bd54dd128b
|
stream/mts/meta_test.go: added TestGetAbsent key to check that we get an error when we try and get data with key that doesn't exist in metadata map
|
2019-01-27 18:15:22 +10:30 |
saxon
|
3bb1ca9379
|
stream/mts: wrote NewMeta func to initialize map in the Meta struct. Also wrote two tests, one TestAddAndGet to see if we can add and get metadata, and also second TestUpdate to see if we can correctly update metadata with the same key using Meta.Add
|
2019-01-27 17:57:42 +10:30 |
saxon
|
1be7e08b9e
|
stream/mts: renamed Format function for metadata to Encode
|
2019-01-27 16:56:14 +10:30 |
saxon
|
ecf7263bc1
|
stream/mts/meta.go: started using mutex where I was supposed to
|
2019-01-26 22:42:31 +10:30 |
saxon
|
df07f3ff48
|
stream/mts/meta.go: added Format func, but need to complete later once specs are clarified
|
2019-01-26 22:36:34 +10:30 |