diff options
| author | Fuwn <[email protected]> | 2022-06-15 02:33:48 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-06-15 02:33:48 -0700 |
| commit | 131f4380156ef05076b98e8b08d67143e3414466 (patch) | |
| tree | ac875fcb0f7c935ee54821bb5cbc4e3e441d41cf /src/modules.rs | |
| parent | feat(contact): move contact to json (diff) | |
| download | locus-131f4380156ef05076b98e8b08d67143e3414466.tar.xz locus-131f4380156ef05076b98e8b08d67143e3414466.zip | |
refactor(modules): new style mod
Diffstat (limited to 'src/modules.rs')
| -rw-r--r-- | src/modules.rs | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/modules.rs b/src/modules.rs new file mode 100644 index 0000000..5515a85 --- /dev/null +++ b/src/modules.rs @@ -0,0 +1,36 @@ +// This file is part of Locus <https://github.com/gemrest/locus>. +// Copyright (C) 2022-2022 Fuwn <[email protected]> +// +// 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-2022 Fuwn <[email protected]> +// SPDX-License-Identifier: GPL-3.0-only + +mod blog; +mod contact; +mod random; +mod remarks; +mod robots; +mod router; +pub mod search; +mod sitemap; +mod skills; +mod r#static; +mod uptime; + +pub fn module(router: &mut windmark::Router) { + crate::statelesses!( + router, uptime, sitemap, search, remarks, blog, random, r#static, router, + robots, skills, contact, + ); +} |