aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-23 12:26:33 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-23 12:26:33 +0800
commit165d3fcc0afb9537fb9ec742676405d2026bee16 (patch)
tree26feff7d495b371ac6f9c12995567224c183ac67
parentSeparate proxy stuff (diff)
downloadpowxy-165d3fcc0afb9537fb9ec742676405d2026bee16.tar.gz
powxy-165d3fcc0afb9537fb9ec742676405d2026bee16.tar.zst
powxy-165d3fcc0afb9537fb9ec742676405d2026bee16.zip
Add SPDX headers
-rw-r--r--bitwise.go3
-rw-r--r--bitwise_test.go3
-rw-r--r--csolver.go3
-rw-r--r--flags.go3
-rw-r--r--main.go3
-rw-r--r--privkey.go3
-rw-r--r--proxy.go3
-rw-r--r--tmpl.go3
-rw-r--r--token.go3
-rw-r--r--unsafe.go3
10 files changed, 30 insertions, 0 deletions
diff --git a/bitwise.go b/bitwise.go
index b9b6f47..cde7bca 100644
--- a/bitwise.go
+++ b/bitwise.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package main
func validateBitZeros(bs []byte, n uint) bool {
diff --git a/bitwise_test.go b/bitwise_test.go
index 394d407..18b8265 100644
--- a/bitwise_test.go
+++ b/bitwise_test.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package main
import (
diff --git a/csolver.go b/csolver.go
index af4328b..3766ca4 100644
--- a/csolver.go
+++ b/csolver.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package main
const solverProgram = `
diff --git a/flags.go b/flags.go
index ee3b817..abb1ace 100644
--- a/flags.go
+++ b/flags.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package main
import "flag"
diff --git a/main.go b/main.go
index 2b6bc77..a2113ec 100644
--- a/main.go
+++ b/main.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package main
import (
diff --git a/privkey.go b/privkey.go
index bad6f80..39a0f77 100644
--- a/privkey.go
+++ b/privkey.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package main
import (
diff --git a/proxy.go b/proxy.go
index 30fe0b8..215ecaa 100644
--- a/proxy.go
+++ b/proxy.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package main
import (
diff --git a/tmpl.go b/tmpl.go
index e6f7841..81659ea 100644
--- a/tmpl.go
+++ b/tmpl.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package main
import (
diff --git a/token.go b/token.go
index 74bf903..f704383 100644
--- a/token.go
+++ b/token.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package main
import (
diff --git a/unsafe.go b/unsafe.go
index 4a7b2d0..a7c99ed 100644
--- a/unsafe.go
+++ b/unsafe.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
package main
import "unsafe"