storj/pkg
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
..
audit Remove unneeded constants (#452) 2018-10-10 11:33:17 +03:00
auth Use context to propagate API Key (#383) 2018-10-09 16:39:14 +02:00
cfgstruct pkg/provider: with pkg/provider merged, make a single heavy client binary, gateway binary, and deprecate old services (#165) 2018-07-26 08:21:35 -06:00
datarepair Method to identify injured segments to repair (#398) 2018-10-09 12:09:33 -04:00
dht Flatten proto definitions into a single package (#360) 2018-09-18 07:39:06 +03:00
eestream Clean up last segment handling (#408) 2018-10-03 16:05:40 +03:00
kademlia Kad flags (#443) 2018-10-09 10:47:05 -06:00
miniogw Use context to propagate API Key (#383) 2018-10-09 16:39:14 +02:00
node Remove BKAD dependency from pkg/kademlia (#294) 2018-10-08 11:09:37 -04:00
overlay Kad flags (#443) 2018-10-09 10:47:05 -06:00
paths examples: turn paths binary to Go documentation example (#405) 2018-10-03 15:15:54 +03:00
pb Method to identify injured segments to repair (#398) 2018-10-09 12:09:33 -04:00
peertls CA and identity commands (#235) 2018-08-28 00:23:48 +02:00
piecestore Tracking bandwidth v3-446 (#430) 2018-10-10 10:04:42 -04:00
pointerdb moves all audit files to pkg/audit (#449) 2018-10-09 18:05:42 -04:00
pool Remove BKAD dependency from pkg/kademlia (#294) 2018-10-08 11:09:37 -04:00
process Handle CTRL+C and clean up the partial segments and pieces (#381) 2018-10-04 09:52:12 -04:00
provider Use context to propagate API Key (#383) 2018-10-09 16:39:14 +02:00
ranger ConcatRanger closes segment readers as soon as data is read (#349) 2018-09-14 10:10:43 -04:00
statdb Add StatDB to Satellite (#396) 2018-10-08 18:15:54 -04:00
storage Remove BKAD dependency from pkg/kademlia (#294) 2018-10-08 11:09:37 -04:00
storj metainfo database: add interfaces and types (#434) 2018-10-10 11:33:06 +03:00
telemetry pkg/telemetry: use smaller mock in test (#370) 2018-09-26 17:00:54 +03:00
transport Flatten proto definitions into a single package (#360) 2018-09-18 07:39:06 +03:00
utils Cleanup after tests (#341) 2018-09-11 16:57:12 +03:00