Implementing batch deletes for calls, logs and routes

Partially-Closes: #302
This commit is contained in:
Denis Makogon
2017-09-11 11:41:03 +03:00
parent 774d53662f
commit 3e190342fb
8 changed files with 86 additions and 2 deletions

View File

@@ -68,6 +68,8 @@ type Datastore interface {
// calls exist, an empty list and a nil error are returned.
GetCalls(ctx context.Context, filter *CallFilter) ([]*Call, error)
BatchDeleteCalls(ctx context.Context, appName string) error
BatchDeleteRoutes(ctx context.Context, appName string) error
// Implement LogStore methods for convenience
LogStore