watchtower/wtserver/interface: add DeleteSession + mock impl
This commit is contained in:
2 files changed
+31
No files matched your search
@@ -63,4 +63,8 @@ type DB interface {
|
||||
// validates the update against the current SessionInfo stored under the
|
||||
// update's session id..
|
||||
InsertStateUpdate(*wtdb.SessionStateUpdate) (uint16, error)
|
||||
|
||||
// DeleteSession removes all data associated with a particular session
|
||||
// id from the tower's database.
|
||||
DeleteSession(wtdb.SessionID) error
|
||||
}
|
||||
Reference in new issue
Block a user