1
1
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 05:11:06 +02:00

Streaming encryption and hashing and update UI

Fixes #19
Fixes #18
This commit is contained in:
Zack Scholl 2017-10-20 06:25:48 -06:00
parent 1c21c66f6f
commit c3cd3d6039
4 changed files with 170 additions and 61 deletions

View file

@ -32,7 +32,7 @@ func main() {
/~____ =ø= /
(______)__m_m)
croc version `+version+`
croc version ` + version + `
`)
flags := new(Flags)
flag.BoolVar(&flags.Relay, "relay", false, "run as relay")
@ -50,7 +50,10 @@ croc version `+version+`
r.Run()
} else {
c := NewConnection(flags)
c.Run()
err := c.Run()
if err != nil {
fmt.Printf("Error! Please submit the following error to https://github.com/schollz/croc/issues:\n\n'%s'\n\n", err.Error())
}
}
}