mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
@@ -11,13 +11,13 @@ type LogStore interface {
|
||||
|
||||
// InsertLog will insert the log at callID, overwriting if it previously
|
||||
// existed.
|
||||
InsertLog(ctx context.Context, callID string, callLog string) error
|
||||
InsertLog(ctx context.Context, appName, callID string, callLog string) error
|
||||
|
||||
// GetLog will return the log at callID, an error will be returned if the log
|
||||
// cannot be found.
|
||||
GetLog(ctx context.Context, callID string) (*CallLog, error)
|
||||
GetLog(ctx context.Context, appName, callID string) (*CallLog, error)
|
||||
|
||||
// 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, callID string) error
|
||||
DeleteLog(ctx context.Context, appName, callID string) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user