mirror of
https://github.com/JonasunderscoreJones/jonas_jones-api.git
synced 2025-10-23 09:09:18 +02:00
something
This commit is contained in:
parent
4e6172d222
commit
fbbcede694
8 changed files with 788 additions and 18 deletions
11
src/v1/builtin/mod.rs
Normal file
11
src/v1/builtin/mod.rs
Normal file
|
@ -0,0 +1,11 @@
|
|||
pub fn help() -> &'static str {
|
||||
return "Please refer to the wiki at https://wiki.jonasjones.dev/Api/"
|
||||
}
|
||||
|
||||
pub fn ping() -> &'static str {
|
||||
return "pong"
|
||||
}
|
||||
|
||||
pub fn version() -> &'static str {
|
||||
return option_env!("CARGO_PKG_VERSION").unwrap_or("unknown")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue