mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 05:11:06 +02:00
add crypto, utils
This commit is contained in:
parent
ce8135002c
commit
7656b102c7
9 changed files with 645 additions and 1 deletions
3
main.go
3
main.go
|
@ -3,7 +3,8 @@ package main
|
|||
import croc "github.com/schollz/croc/src"
|
||||
|
||||
func main() {
|
||||
err := croc.Relay([]string{"27001", "27002", "27003", "27004"}, "8002")
|
||||
c := croc.Init()
|
||||
err := c.Relay()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue