mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-23 16:18:44 +05:00
Add stats APIs and fill in context where needed
This commit is contained in:
committed by
Dan Christian Bogos
parent
a9c3c8b937
commit
9ee73dd1ae
@@ -60,12 +60,12 @@ type DataDB interface {
|
||||
SetIndexesDrv(ctx *context.Context, idxItmType, tntCtx string,
|
||||
indexes map[string]utils.StringSet, commit bool, transactionID string) (err error)
|
||||
RemoveIndexesDrv(idxItmType, tntCtx, idxKey string) (err error)
|
||||
GetStatQueueProfileDrv(tenant string, ID string) (sq *StatQueueProfile, err error)
|
||||
SetStatQueueProfileDrv(sq *StatQueueProfile) (err error)
|
||||
RemStatQueueProfileDrv(tenant, id string) (err error)
|
||||
GetStatQueueDrv(tenant, id string) (sq *StatQueue, err error)
|
||||
SetStatQueueDrv(ssq *StoredStatQueue, sq *StatQueue) (err error)
|
||||
RemStatQueueDrv(tenant, id string) (err error)
|
||||
GetStatQueueProfileDrv(ctx *context.Context, tenant string, ID string) (sq *StatQueueProfile, err error)
|
||||
SetStatQueueProfileDrv(ctx *context.Context, sq *StatQueueProfile) (err error)
|
||||
RemStatQueueProfileDrv(ctx *context.Context, tenant, id string) (err error)
|
||||
GetStatQueueDrv(ctx *context.Context, tenant, id string) (sq *StatQueue, err error)
|
||||
SetStatQueueDrv(ctx *context.Context, ssq *StoredStatQueue, sq *StatQueue) (err error)
|
||||
RemStatQueueDrv(ctx *context.Context, tenant, id string) (err error)
|
||||
GetThresholdProfileDrv(ctx *context.Context, tenant string, ID string) (tp *ThresholdProfile, err error)
|
||||
SetThresholdProfileDrv(ctx *context.Context, tp *ThresholdProfile) (err error)
|
||||
RemThresholdProfileDrv(ctx *context.Context, tenant, id string) (err error)
|
||||
|
||||
Reference in New Issue
Block a user