summaryrefslogtreecommitdiff
path: root/internal/packet
diff options
context:
space:
mode:
Diffstat (limited to 'internal/packet')
-rw-r--r--internal/packet/encoders.go16
-rw-r--r--internal/packet/models.go16
-rw-r--r--internal/packet/packet.go16
-rw-r--r--internal/packet/packet_test.go16
-rw-r--r--internal/packet/types.go16
5 files changed, 80 insertions, 0 deletions
diff --git a/internal/packet/encoders.go b/internal/packet/encoders.go
index 760c11c..de0cf97 100644
--- a/internal/packet/encoders.go
+++ b/internal/packet/encoders.go
@@ -1,3 +1,19 @@
+// Eko: A terminal based social media platform
+// Copyright (C) 2025 Kyren223
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published
+// by the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
package packet
import (
diff --git a/internal/packet/models.go b/internal/packet/models.go
index 9d7e885..9ef79a6 100644
--- a/internal/packet/models.go
+++ b/internal/packet/models.go
@@ -1,3 +1,19 @@
+// Eko: A terminal based social media platform
+// Copyright (C) 2025 Kyren223
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published
+// by the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
package packet
import "github.com/kyren223/eko/pkg/snowflake"
diff --git a/internal/packet/packet.go b/internal/packet/packet.go
index 223fbf5..093faa1 100644
--- a/internal/packet/packet.go
+++ b/internal/packet/packet.go
@@ -1,3 +1,19 @@
+// Eko: A terminal based social media platform
+// Copyright (C) 2025 Kyren223
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published
+// by the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
package packet
import (
diff --git a/internal/packet/packet_test.go b/internal/packet/packet_test.go
index 8bba399..3a2bba3 100644
--- a/internal/packet/packet_test.go
+++ b/internal/packet/packet_test.go
@@ -1,3 +1,19 @@
+// Eko: A terminal based social media platform
+// Copyright (C) 2025 Kyren223
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published
+// by the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
package packet
import (
diff --git a/internal/packet/types.go b/internal/packet/types.go
index 2ad8aae..e2a55c8 100644
--- a/internal/packet/types.go
+++ b/internal/packet/types.go
@@ -1,3 +1,19 @@
+// Eko: A terminal based social media platform
+// Copyright (C) 2025 Kyren223
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published
+// by the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
package packet
import (