aboutsummaryrefslogtreecommitdiff
path: root/macros/src
diff options
context:
space:
mode:
Diffstat (limited to 'macros/src')
-rw-r--r--macros/src/lib.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/macros/src/lib.rs b/macros/src/lib.rs
index 7c5ce19..4a37958 100644
--- a/macros/src/lib.rs
+++ b/macros/src/lib.rs
@@ -91,6 +91,14 @@ fn generate_help(items: &Items) -> proc_macro2::TokenStream {
/// }
/// ```
///
+/// ## async
+/// You can run async functions natively by prepending your function
+/// hooks etc. with the async keyword.
+///
+/// ```ignore
+/// async hook("name", "description", COMMAND, function)
+/// ```
+///
/// ## hook
/// Hooks execute a function when a specific IRC Command is received,
/// this allows for great flexibility in hooking into IRC for Authentication and the likes.
b7d0193d31a9ff614d7a737&follow=1'>add homepage dashboardMax Audron-3/+284 2025-08-01disable not used gameserversMax Audron-1/+2 2025-08-01add minecraft prometheus exporterMax Audron-3/+67 2025-08-01more monitoring & scrape config shortcutsMax Audron-68/+63 2025-08-01update garage to 2.0Max Audron-6/+10 2025-07-31fix authentik-ldap port bindingsMax Audron-0/+5 2025-07-31update to nixos 25.05Max Audron-113/+65 2025-07-31add more monitoring exporters and scrapersMax Audron-17/+57 2025-07-30try to run authentik nativelyMax Audron-26/+303 2025-07-30more metricsMax Audron-1/+41 2025-07-30enable firewallsMax Audron-1/+39