summaryrefslogtreecommitdiff
path: root/listener.go
diff options
context:
space:
mode:
Diffstat (limited to 'listener.go')
-rw-r--r--listener.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/listener.go b/listener.go
index 82db98c..30ad401 100644
--- a/listener.go
+++ b/listener.go
@@ -28,8 +28,9 @@ type ListenConfig struct {
StateDir string
}
+// NewListenConfig
// perhaps this is redundant, but using the same json format than ss for debug.
-// kali: feel free to remove this if/when we make sure unwrapping the cert is enough for us.
+
func NewListenConfig(nodeIDStr, privKeyStr, pubKeyStr, seedStr, stateDir string) (*ListenConfig, error) {
var err error
var seed [ntor.KeySeedLength]byte