| 1 | package WWW::Suffit::Server::ServerInfo; | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | use utf8; | ||
| 5 | |||
| 6 | =encoding utf8 | ||
| 7 | |||
| 8 | =head1 NAME | ||
| 9 | |||
| 10 | WWW::Suffit::Server::ServerInfo - The Mojolicious ServerInfo controller for the suffit projects | ||
| 11 | |||
| 12 | =head1 DESCRIPTION | ||
| 13 | |||
| 14 | The Mojolicious ServerInfo controller for the suffit projects | ||
| 15 | |||
| 16 | =head1 METHODS | ||
| 17 | |||
| 18 | API methods | ||
| 19 | |||
| 20 | =head2 info | ||
| 21 | |||
| 22 | The route to show server information | ||
| 23 | |||
| 24 | =head1 SEE ALSO | ||
| 25 | |||
| 26 | L<WWW::Suffit::Plugin::ServerInfo> | ||
| 27 | |||
| 28 | =head1 AUTHOR | ||
| 29 | |||
| 30 | Serż Minus (Sergey Lepenkov) L<https://www.serzik.com> E<lt>abalama@cpan.orgE<gt> | ||
| 31 | |||
| 32 | =head1 COPYRIGHT | ||
| 33 | |||
| 34 | Copyright (C) 1998-2026 D&D Corporation | ||
| 35 | |||
| 36 | =head1 LICENSE | ||
| 37 | |||
| 38 | This program is distributed under the terms of the Artistic License Version 2.0 | ||
| 39 | |||
| 40 | See the C<LICENSE> file or L<https://opensource.org/license/artistic-2-0> for details | ||
| 41 | |||
| 42 | =cut | ||
| 43 | |||
| 44 | use Mojo::Base 'Mojolicious::Controller'; | ||
| 45 | |||
| 46 | our $VERSION = '1.02'; | ||
| 47 | |||
| 48 | sub info { shift->serverinfo } | ||
| 49 | |||
| 50 | 1; | ||
| 51 | |||
| 52 | __END__ |