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

@@ -20,4 +20,6 @@ type LogStore interface {
// DeleteLog will remove the log at callID, it will not return an error if
// the log does not exist before removal.
DeleteLog(ctx context.Context, appName, callID string) error
BatchDeleteLogs(ctx context.Context, appName string) error
}