Commit f0961cc5 authored by Marten Seemann's avatar Marten Seemann

fix package name of tlsdiag

parent 71604ef0
......@@ -4,7 +4,7 @@ import (
"fmt"
"os"
"github.com/libp2p/go-libp2p-tls/cmd/cmdimpl"
"github.com/libp2p/go-libp2p-tls/cmd/tlsdiag"
)
func main() {
......@@ -20,9 +20,9 @@ func main() {
var err error
switch role {
case "client":
err = cmdimpl.StartClient()
err = tlsdiag.StartClient()
case "server":
err = cmdimpl.StartServer()
err = tlsdiag.StartServer()
default:
fmt.Println("invalid argument. Expected client / server")
return
......
package cmdimpl
package tlsdiag
import (
"context"
......
package cmdimpl
package tlsdiag
import (
"crypto/rand"
......
package cmdimpl
package tlsdiag
import (
"context"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment