Quellcode durchsuchen

control/controlbase: rename from control/noise.

Updates #3488

Signed-off-by: David Anderson <[email protected]>
David Anderson vor 4 Jahren
Ursprung
Commit
6cd180746f

+ 1 - 1
control/noise/conn.go → control/controlbase/conn.go

@@ -7,7 +7,7 @@
 //
 // The base transport implements Noise IK, instantiated with
 // Curve25519, ChaCha20Poly1305 and BLAKE2s.
-package noise
+package controlbase
 
 import (
 	"crypto/cipher"

+ 1 - 1
control/noise/conn_test.go → control/controlbase/conn_test.go

@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-package noise
+package controlbase
 
 import (
 	"bufio"

+ 1 - 1
control/noise/handshake.go → control/controlbase/handshake.go

@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-package noise
+package controlbase
 
 import (
 	"context"

+ 1 - 1
control/noise/handshake_test.go → control/controlbase/handshake_test.go

@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-package noise
+package controlbase
 
 import (
 	"bytes"

+ 1 - 1
control/noise/interop_test.go → control/controlbase/interop_test.go

@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-package noise
+package controlbase
 
 import (
 	"context"

+ 1 - 1
control/noise/messages.go → control/controlbase/messages.go

@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-package noise
+package controlbase
 
 import "encoding/binary"
 

+ 1 - 1
control/noise/noiseexplorer_test.go → control/controlbase/noiseexplorer_test.go

@@ -24,7 +24,7 @@ IK:
  * PARAMETERS                                                       *
  * ---------------------------------------------------------------- */
 
-package noise
+package controlbase
 
 import (
 	"crypto/rand"

+ 1 - 1
scripts/check_license_headers.sh

@@ -41,7 +41,7 @@ for file in $(find $1 -name '*.go' -not -path '*/.git/*'); do
 		*_string.go)
 			# Generated file from go:generate stringer
 		;;
-		$1/control/noise/noiseexplorer_test.go)
+		$1/control/controlbase/noiseexplorer_test.go)
 			# Noiseexplorer.com copyright.
 		;;
         *)