mirror of
https://github.com/bettercap/bettercap
synced 2025-07-06 04:52:10 -07:00
misc: decoupled session record loading to external package
This commit is contained in:
parent
b743b26dde
commit
126cb7febf
78 changed files with 2063 additions and 490 deletions
|
@ -10,6 +10,8 @@ import (
|
|||
"github.com/bettercap/bettercap/session"
|
||||
"github.com/bettercap/bettercap/tls"
|
||||
|
||||
"github.com/bettercap/recording"
|
||||
|
||||
"github.com/gorilla/mux"
|
||||
"github.com/gorilla/websocket"
|
||||
|
||||
|
@ -35,7 +37,7 @@ type RestAPI struct {
|
|||
replaying bool
|
||||
recordFileName string
|
||||
recordWait *sync.WaitGroup
|
||||
record *Record
|
||||
record *recording.Archive
|
||||
recStarted time.Time
|
||||
recStopped time.Time
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue