Commit f0961cc5 authored by Marten Seemann's avatar Marten Seemann

fix package name of tlsdiag

parent 71604ef0
...@@ -4,7 +4,7 @@ import ( ...@@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"os" "os"
"github.com/libp2p/go-libp2p-tls/cmd/cmdimpl" "github.com/libp2p/go-libp2p-tls/cmd/tlsdiag"
) )
func main() { func main() {
...@@ -20,9 +20,9 @@ func main() { ...@@ -20,9 +20,9 @@ func main() {
var err error var err error
switch role { switch role {
case "client": case "client":
err = cmdimpl.StartClient() err = tlsdiag.StartClient()
case "server": case "server":
err = cmdimpl.StartServer() err = tlsdiag.StartServer()
default: default:
fmt.Println("invalid argument. Expected client / server") fmt.Println("invalid argument. Expected client / server")
return return
......
package cmdimpl package tlsdiag
import ( import (
"context" "context"
......
package cmdimpl package tlsdiag
import ( import (
"crypto/rand" "crypto/rand"
......
package cmdimpl package tlsdiag
import ( import (
"context" "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