Update backend/sshappbackend/local-code/main.go
This commit is contained in:
parent
f8a4fe00a0
commit
37c5ac926e
1 changed files with 14 additions and 0 deletions
|
@ -809,6 +809,20 @@ func main() {
|
|||
}
|
||||
}
|
||||
|
||||
go func () {
|
||||
log.Info("lil bro, yo code be broken. self distruct in 1 minute")
|
||||
countdown := 60
|
||||
|
||||
for {
|
||||
if countdown == 0 {
|
||||
panic("bye bye")
|
||||
}
|
||||
|
||||
log.Infof("self distructing in %d seconds", countdown)
|
||||
countdown--
|
||||
}
|
||||
}()
|
||||
|
||||
backend := &SSHAppBackend{}
|
||||
|
||||
application := backendutil.NewHelper(backend)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue