Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bnjbvr/trinity
/ functions
Functions
215 in github.com/bnjbvr/trinity
⨍
Functions
215
◇
Types & classes
61
Function
__wasm_export_trinity_module_help_post_return
c-hello-world-module/trinity_module.c:3
Function
__wasm_export_trinity_module_init
c-hello-world-module/trinity_module.c:124
Function
__wasm_export_trinity_module_on_msg
c-hello-world-module/trinity_module.c:164
Function
__wasm_export_trinity_module_on_msg_post_return
c-hello-world-module/trinity_module.c:27
Function
_export_admin_cabi
( arg0: *mut u8, arg1: usize, arg2: *mut u8,
modules/libcommand/src/trinity_module.rs:160
Function
_export_help_cabi
( arg0: i32, arg1: *mut u8, arg2: usize,
modules/libcommand/src/trinity_module.rs:116
Function
_export_init_cabi
( arg0: i32, arg1: *mut u8, arg2: usize,
modules/libcommand/src/trinity_module.rs:57
Function
_export_on_msg_cabi
( arg0: *mut u8, arg1: usize, arg2: *mut u8,
modules/libcommand/src/trinity_module.rs:335
Method
_lift
(val: u8)
modules/wit-sync-request/src/sync_request_world.rs:39
Method
admin
(cmd: String, author_id: String, room: String)
modules/libcommand/src/lib.rs:69
Method
debug
(&mut self, msg: String)
src/wasm/apis/log.rs:29
Method
debug
(String s)
java-module/Log.java:25
Method
error
(&mut self, msg: String)
src/wasm/apis/log.rs:38
Method
error
(String s)
java-module/Log.java:49
Method
flush
(&self)
modules/wit-log/src/lib.rs:48
Method
fmt
( &self, f: &mut ::core::fmt::Formatter<'_>, )
modules/wit-kv/src/kv_world.rs:19
Method
fmt
( &self, f: &mut ::core::fmt::Formatter<'_>,
modules/libcommand/src/trinity_module.rs:23
Method
fmt
( &self, f: &mut ::core::fmt::Formatter<'_>, )
modules/wit-sync-request/src/sync_request_world.rs:23
Method
from_config
Generate a `BotConfig` from a TOML config file. If `path` matches `None`, will search for a file called `config.toml` in an XDG compliant configurati
src/lib.rs:67
Method
from_env
Generate a `BotConfig` from the process' environment.
src/lib.rs:85
Function
get
(key: &[u8])
modules/wit-kv/src/kv_world.rs:127
Method
get_pun
(msg: &str)
modules/pun/src/lib.rs:10
Method
get_quote
(msg: &str)
modules/horsejs/src/lib.rs:10
Method
get_room_config
(room: &str)
modules/linkify/src/lib.rs:51
Method
get_rules
()
modules/linkify/src/lib.rs:44
Method
handle_admin
(cmd: &str, _sender: &str, room: &str)
modules/linkify/src/lib.rs:77
Method
handle_admin
(cmd: &str, room: &str)
modules/openai/src/lib.rs:92
Method
handle_msg
(content: &str, room: &str)
modules/openai/src/lib.rs:28
Function
handle_signals
()
src/lib.rs:677
Method
help
(topic: Option<String>)
modules/libcommand/src/lib.rs:54
Method
info
(&mut self, msg: String)
src/wasm/apis/log.rs:32
Method
info
(String s)
java-module/Log.java:33
Method
init
(_config: HashMap<String, String>)
modules/linkify/src/lib.rs:169
Method
init
(_config: HashMap<String, String>)
modules/silverbullet/src/lib.rs:16
Method
init
(_config: HashMap<String, String>)
modules/pun/src/lib.rs:38
Method
init
(_config: HashMap<String, String>)
modules/horsejs/src/lib.rs:38
Method
init
(config: Option<Vec<(String, String)>>)
modules/libcommand/src/lib.rs:41
Method
init
Code that will be called once during initialization of the command. This is a good time to retrieve settings from the database and cache them locally,
modules/libcommand/src/lib.rs:128
Method
init
(_config: HashMap<String, String>)
modules/openai/src/lib.rs:124
Method
init
(_config: HashMap<String, String>)
modules/memos/src/lib.rs:16
Method
init
(_config: HashMap<String, String>)
modules/secret/src/lib.rs:9
Method
init
(_config: HashMap<String, String>)
modules/mastodon/src/lib.rs:23
Method
link
(linker: &mut wasmtime::component::Linker<ModuleState>)
src/wasm/apis/sys.rs:12
Method
link
(linker: &mut wasmtime::component::Linker<ModuleState>)
src/wasm/apis/mod.rs:32
Method
link
(linker: &mut wasmtime::component::Linker<ModuleState>)
src/wasm/apis/kv_store.rs:25
Method
link
(linker: &mut wasmtime::component::Linker<ModuleState>)
src/wasm/apis/sync_request.rs:17
Method
link
(linker: &mut wasmtime::component::Linker<ModuleState>)
src/wasm/apis/log.rs:20
Method
log
(&self, record: &::log::Record)
modules/wit-log/src/lib.rs:32
Function
log_error
c-hello-world-module/trinity_module.c:120
Function
log_info
c-hello-world-module/trinity_module.c:112
Function
log_trace
c-hello-world-module/trinity_module.c:104
Function
log_warn
c-hello-world-module/trinity_module.c:116
Function
main
()
src/bin/main.rs:17
Method
new
()
modules/wit-log/src/lib.rs:13
Method
new
(room: String, author: String)
modules/libcommand/src/lib.rs:86
Method
new
Create a new `AppCtx`.
src/lib.rs:150
Method
new
Create a new collection of wasm modules.
src/wasm.rs:82
Method
new
(client: Client)
src/room_resolver.rs:15
Method
new
(module_name: String, db: ShareableDatabase)
src/wasm/apis/mod.rs:23
Method
new
(db: ShareableDatabase, module_name: &str)
src/wasm/apis/kv_store.rs:18
Method
new
(module_name: &str)
src/wasm/apis/log.rs:14
Method
on_admin
(client: &mut CommandClient, cmd: &str)
modules/linkify/src/lib.rs:235
Method
on_admin
(client: &mut CommandClient, cmd: &str)
modules/silverbullet/src/lib.rs:98
Method
on_admin
Handle a message received by an admin, prefixed with the `!admin` subject. By default this does nothing, as admin commands are facultative.
modules/libcommand/src/lib.rs:150
Method
on_admin
(client: &mut CommandClient, cmd: &str)
modules/openai/src/lib.rs:155
Method
on_admin
(client: &mut CommandClient, cmd: &str)
modules/memos/src/lib.rs:96
Method
on_admin
(client: &mut libcommand::CommandClient, cmd: &str)
modules/secret/src/lib.rs:19
Method
on_admin
(client: &mut CommandClient, cmd: &str)
modules/mastodon/src/lib.rs:99
Method
on_help
(topic: Option<&str>)
modules/linkify/src/lib.rs:175
Method
on_help
(_topic: Option<&str>)
modules/uuid/src/lib.rs:6
Method
on_help
(topic: Option<&str>)
modules/silverbullet/src/lib.rs:21
Method
on_help
(topic: Option<&str>)
modules/pun/src/lib.rs:50
Method
on_help
(_topic: Option<&str>)
modules/horsejs/src/lib.rs:44
Method
on_help
(topic: Option<&str>)
modules/openai/src/lib.rs:129
Method
on_help
(topic: Option<&str>)
modules/memos/src/lib.rs:21
Method
on_help
(_topic: Option<&str>)
modules/secret/src/lib.rs:15
Method
on_help
(topic: Option<&str>)
modules/mastodon/src/lib.rs:28
Function
on_message
( ev: OriginalSyncRoomMessageEvent, room: Room, client: Client, Ctx(ctx): Ctx<App>, )
src/lib.rs:379
Method
on_msg
(client: &mut CommandClient, content: &str)
modules/linkify/src/lib.rs:229
Method
on_msg
(client: &mut CommandClient, content: &str)
modules/uuid/src/lib.rs:10
Method
on_msg
(client: &mut CommandClient, content: &str)
modules/silverbullet/src/lib.rs:42
Method
on_msg
(client: &mut CommandClient, msg: &str)
modules/pun/src/lib.rs:44
Method
on_msg
(client: &mut CommandClient, content: &str)
modules/horsejs/src/lib.rs:48
Method
on_msg
( content: String, author_id: String, _author_name: String, room: String,
modules/libcommand/src/lib.rs:58
Method
on_msg
(client: &mut CommandClient, content: &str)
modules/openai/src/lib.rs:146
Method
on_msg
(client: &mut CommandClient, content: &str)
modules/memos/src/lib.rs:42
Method
on_msg
(_client: &mut libcommand::CommandClient, _content: &str)
modules/secret/src/lib.rs:49
Method
on_msg
(client: &mut CommandClient, content: &str)
modules/mastodon/src/lib.rs:46
Function
on_room_upgrade
After a room has been upgraded, automatically attempt to join the new room.
src/lib.rs:346
Function
on_stripped_state_member
Autojoin mixin.
src/lib.rs:501
Method
randU64
()
java-module/Sys.java:17
Method
rand_u64
(&mut self)
src/wasm/apis/sys.rs:18
Function
remove
(key: &[u8])
modules/wit-kv/src/kv_world.rs:218
Method
replace
(msg: &str, rc: RoomConfig)
modules/linkify/src/lib.rs:58
Method
run_request
(&mut self, req: Request)
src/wasm/apis/sync_request.rs:23
Function
set
(key: &[u8], value: &[u8])
modules/wit-kv/src/kv_world.rs:40
Method
set
(&mut self, key: Vec<u8>, value: Vec<u8>)
src/wasm/apis/kv_store.rs:74
Method
set_enabled
(&mut self, enabled: bool)
modules/wit-log/src/lib.rs:19
Method
set_max_level
(&mut self, level: ::log::LevelFilter)
modules/wit-log/src/lib.rs:22
Method
set_needs_recompile
(ptr: Arc<Mutex<Self>>)
src/lib.rs:177
← previous
next →
101–200 of 215, ranked by callers