Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
K
koko
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
koko
Commits
caee0e64
Commit
caee0e64
authored
6 years ago
by
Eric
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add cmd replay
parent
89842d0d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
cmd.go
pkg/record/cmd.go
+10
-0
replay.go
pkg/record/replay.go
+1
-0
No files found.
pkg/record/cmd.go
0 → 100644
View file @
caee0e64
package
record
import
(
"time"
)
type
Command
struct
{
SessionID
string
StartTime
time
.
Time
}
This diff is collapsed.
Click to expand it.
pkg/record/replay.go
View file @
caee0e64
...
@@ -71,6 +71,7 @@ func (r *Reply) uploadReplay() {
...
@@ -71,6 +71,7 @@ func (r *Reply) uploadReplay() {
if
sto
:=
storage
.
NewStorageServer
();
sto
!=
nil
{
if
sto
:=
storage
.
NewStorageServer
();
sto
!=
nil
{
sto
.
Upload
(
r
.
absGzFilePath
,
r
.
target
)
sto
.
Upload
(
r
.
absGzFilePath
,
r
.
target
)
}
}
_
=
os
.
Remove
(
r
.
absFilePath
)
_
=
os
.
Remove
(
r
.
absGzFilePath
)
_
=
os
.
Remove
(
r
.
absGzFilePath
)
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment