diff options
author | atanarjuat <atanarjuat@example.com> | 2022-05-21 01:50:47 +0200 |
---|---|---|
committer | atanarjuat <atanarjuat@example.com> | 2022-05-21 05:04:09 +0200 |
commit | 182e3e76908f0824eac155b5e14775b50fe0aca5 (patch) | |
tree | e0d20e237ff6159b8967a3fd4592134a35bbcf77 /listener.go | |
parent | a809112a20b31b9a4adca31ae564d943a41e9023 (diff) |
simplify testing of client and server
Diffstat (limited to 'listener.go')
-rw-r--r-- | listener.go | 3 |
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 |