From f0f9422fef515cc5ce836dea553bfbc781a051c9 Mon Sep 17 00:00:00 2001 From: Arsen Musayelyan Date: Sun, 1 May 2022 21:30:00 -0700 Subject: [PATCH] Add GPLv3 copyright headers --- client/{main.go => client.go} | 18 ++++++++++++++++++ codec/codec.go | 18 ++++++++++++++++++ internal/reflectutil/utils.go | 18 ++++++++++++++++++ internal/types/types.go | 18 ++++++++++++++++++ server/context.go | 18 ++++++++++++++++++ server/server.go | 18 ++++++++++++++++++ 6 files changed, 108 insertions(+) rename client/{main.go => client.go} (85%) diff --git a/client/main.go b/client/client.go similarity index 85% rename from client/main.go rename to client/client.go index 5c879be..fa46da9 100644 --- a/client/main.go +++ b/client/client.go @@ -1,3 +1,21 @@ +/* + * lrpc allows for clients to call functions on a server remotely. + * Copyright (C) 2022 Arsen Musayelyan + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package client import ( diff --git a/codec/codec.go b/codec/codec.go index 279a98b..de1096e 100644 --- a/codec/codec.go +++ b/codec/codec.go @@ -1,3 +1,21 @@ +/* + * lrpc allows for clients to call functions on a server remotely. + * Copyright (C) 2022 Arsen Musayelyan + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package codec import ( diff --git a/internal/reflectutil/utils.go b/internal/reflectutil/utils.go index a7b76c7..f5b90c8 100644 --- a/internal/reflectutil/utils.go +++ b/internal/reflectutil/utils.go @@ -1,3 +1,21 @@ +/* + * lrpc allows for clients to call functions on a server remotely. + * Copyright (C) 2022 Arsen Musayelyan + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package reflectutil import ( diff --git a/internal/types/types.go b/internal/types/types.go index 1bd3e2a..52f7370 100644 --- a/internal/types/types.go +++ b/internal/types/types.go @@ -1,3 +1,21 @@ +/* + * lrpc allows for clients to call functions on a server remotely. + * Copyright (C) 2022 Arsen Musayelyan + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package types // Request represents a request sent to the server diff --git a/server/context.go b/server/context.go index eea1a2e..fc86725 100644 --- a/server/context.go +++ b/server/context.go @@ -1,3 +1,21 @@ +/* + * lrpc allows for clients to call functions on a server remotely. + * Copyright (C) 2022 Arsen Musayelyan + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package server import ( diff --git a/server/server.go b/server/server.go index ce47106..fd10164 100644 --- a/server/server.go +++ b/server/server.go @@ -1,3 +1,21 @@ +/* + * lrpc allows for clients to call functions on a server remotely. + * Copyright (C) 2022 Arsen Musayelyan + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package server import (