aboutsummaryrefslogtreecommitdiff
path: root/src/handler
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-02-20 14:23:16 +0000
committerFuwn <[email protected]>2026-02-20 14:23:16 +0000
commit125e37558b02bb33892608ee1bd6fb1088c1cb23 (patch)
tree2527eac50dc58ef831adaf76d4197b27f7215c32 /src/handler
parentchore: Bump version patch to v0.4.2 (diff)
downloadwindmark-125e37558b02bb33892608ee1bd6fb1088c1cb23.tar.xz
windmark-125e37558b02bb33892608ee1bd6fb1088c1cb23.zip
chore(license): Relicense under MIT OR Apache-2.0HEADmain
Diffstat (limited to 'src/handler')
-rw-r--r--src/handler/hooks.rs17
-rw-r--r--src/handler/hooks/post_route.rs17
-rw-r--r--src/handler/hooks/pre_route.rs17
-rw-r--r--src/handler/partial.rs17
-rw-r--r--src/handler/response.rs17
-rw-r--r--src/handler/response/error.rs17
-rw-r--r--src/handler/response/route.rs17
7 files changed, 0 insertions, 119 deletions
diff --git a/src/handler/hooks.rs b/src/handler/hooks.rs
index 34ea42e..c107f0d 100644
--- a/src/handler/hooks.rs
+++ b/src/handler/hooks.rs
@@ -1,20 +1,3 @@
-// This file is part of Windmark <https://github.com/gemrest/windmark>.
-//
-// 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, version 3.
-//
-// 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 <http://www.gnu.org/licenses/>.
-//
-// Copyright (C) 2022-2023 Fuwn <[email protected]>
-// SPDX-License-Identifier: GPL-3.0-only
-
mod post_route;
mod pre_route;
diff --git a/src/handler/hooks/post_route.rs b/src/handler/hooks/post_route.rs
index b8acd35..6bc24b2 100644
--- a/src/handler/hooks/post_route.rs
+++ b/src/handler/hooks/post_route.rs
@@ -1,20 +1,3 @@
-// This file is part of Windmark <https://github.com/gemrest/windmark>.
-//
-// 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, version 3.
-//
-// 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 <http://www.gnu.org/licenses/>.
-//
-// Copyright (C) 2022-2023 Fuwn <[email protected]>
-// SPDX-License-Identifier: GPL-3.0-only
-
use crate::{context::HookContext, response::Response};
#[allow(clippy::module_name_repetitions)]
diff --git a/src/handler/hooks/pre_route.rs b/src/handler/hooks/pre_route.rs
index 4221f14..9b1eb7f 100644
--- a/src/handler/hooks/pre_route.rs
+++ b/src/handler/hooks/pre_route.rs
@@ -1,20 +1,3 @@
-// This file is part of Windmark <https://github.com/gemrest/windmark>.
-//
-// 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, version 3.
-//
-// 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 <http://www.gnu.org/licenses/>.
-//
-// Copyright (C) 2022-2023 Fuwn <[email protected]>
-// SPDX-License-Identifier: GPL-3.0-only
-
use crate::context::HookContext;
#[allow(clippy::module_name_repetitions)]
diff --git a/src/handler/partial.rs b/src/handler/partial.rs
index 913fa07..b8f4057 100644
--- a/src/handler/partial.rs
+++ b/src/handler/partial.rs
@@ -1,20 +1,3 @@
-// This file is part of Windmark <https://github.com/gemrest/windmark>.
-//
-// 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, version 3.
-//
-// 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 <http://www.gnu.org/licenses/>.
-//
-// Copyright (C) 2022-2023 Fuwn <[email protected]>
-// SPDX-License-Identifier: GPL-3.0-only
-
use crate::context::RouteContext;
#[allow(clippy::module_name_repetitions)]
diff --git a/src/handler/response.rs b/src/handler/response.rs
index b1ccae7..c753943 100644
--- a/src/handler/response.rs
+++ b/src/handler/response.rs
@@ -1,20 +1,3 @@
-// This file is part of Windmark <https://github.com/gemrest/windmark>.
-//
-// 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, version 3.
-//
-// 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 <http://www.gnu.org/licenses/>.
-//
-// Copyright (C) 2022-2023 Fuwn <[email protected]>
-// SPDX-License-Identifier: GPL-3.0-only
-
#![allow(clippy::module_name_repetitions)]
mod error;
diff --git a/src/handler/response/error.rs b/src/handler/response/error.rs
index a8c2745..6d6df34 100644
--- a/src/handler/response/error.rs
+++ b/src/handler/response/error.rs
@@ -1,20 +1,3 @@
-// This file is part of Windmark <https://github.com/gemrest/windmark>.
-//
-// 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, version 3.
-//
-// 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 <http://www.gnu.org/licenses/>.
-//
-// Copyright (C) 2022-2023 Fuwn <[email protected]>
-// SPDX-License-Identifier: GPL-3.0-only
-
use async_trait::async_trait;
use crate::{context::ErrorContext, response::Response};
diff --git a/src/handler/response/route.rs b/src/handler/response/route.rs
index 0c0d0e9..d6977a9 100644
--- a/src/handler/response/route.rs
+++ b/src/handler/response/route.rs
@@ -1,20 +1,3 @@
-// This file is part of Windmark <https://github.com/gemrest/windmark>.
-//
-// 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, version 3.
-//
-// 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 <http://www.gnu.org/licenses/>.
-//
-// Copyright (C) 2022-2023 Fuwn <[email protected]>
-// SPDX-License-Identifier: GPL-3.0-only
-
use async_trait::async_trait;
use crate::{context::RouteContext, response::Response};