storj/pkg/piecestore/rpc/server
aligeti 4a51db2344
Tracking bandwidth v3-446 (#430)
* Added a new table 'mib'  with 'data', 'size' and 'method' columns

* added AddMIB() function and test case TestMIBHappyPath()

* added function and a test case  to add entries into bandwidth usage table

* added functionality to create an entry, update the entry and readback the entry based on a given date into/from bandwidth tbl

* added initial SumBandwidthSizes()

* added the functionality to retrieve the total bw usage based on start and end date

* Added the unit test case for AddBwUsageTbl

* changed the arguments to take time format as arg than Unix format

* changed the arguments to take time format as arg than Unix format

* changes per code review comments

* adding back go.sum

* changes per code review comments

* changes per code review comments

* changes per code review comments
2018-10-10 10:04:42 -04:00
..
psdb Tracking bandwidth v3-446 (#430) 2018-10-10 10:04:42 -04:00
readerwriter.go Flatten proto definitions into a single package (#360) 2018-09-18 07:39:06 +03:00
retrieve.go Tracking bandwidth v3-446 (#430) 2018-10-10 10:04:42 -04:00
server_test.go Flatten proto definitions into a single package (#360) 2018-09-18 07:39:06 +03:00
server.go storage node quick check and startup validation (#368) 2018-09-25 12:49:55 -04:00
store.go Tracking bandwidth v3-446 (#430) 2018-10-10 10:04:42 -04:00