MCPcopy Create free account

hub / github.com/bnjbvr/trinity / functions

Functions215 in github.com/bnjbvr/trinity

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
Methodadmin
(cmd: String, author_id: String, room: String)
modules/libcommand/src/lib.rs:69
Methoddebug
(&mut self, msg: String)
src/wasm/apis/log.rs:29
Methoddebug
(String s)
java-module/Log.java:25
Methoderror
(&mut self, msg: String)
src/wasm/apis/log.rs:38
Methoderror
(String s)
java-module/Log.java:49
Methodflush
(&self)
modules/wit-log/src/lib.rs:48
Methodfmt
( &self, f: &mut ::core::fmt::Formatter<'_>, )
modules/wit-kv/src/kv_world.rs:19
Methodfmt
( &self, f: &mut ::core::fmt::Formatter<'_>,
modules/libcommand/src/trinity_module.rs:23
Methodfmt
( &self, f: &mut ::core::fmt::Formatter<'_>, )
modules/wit-sync-request/src/sync_request_world.rs:23
Methodfrom_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
Methodfrom_env
Generate a `BotConfig` from the process' environment.
src/lib.rs:85
Functionget
(key: &[u8])
modules/wit-kv/src/kv_world.rs:127
Methodget_pun
(msg: &str)
modules/pun/src/lib.rs:10
Methodget_quote
(msg: &str)
modules/horsejs/src/lib.rs:10
Methodget_room_config
(room: &str)
modules/linkify/src/lib.rs:51
Methodget_rules
()
modules/linkify/src/lib.rs:44
Methodhandle_admin
(cmd: &str, _sender: &str, room: &str)
modules/linkify/src/lib.rs:77
Methodhandle_admin
(cmd: &str, room: &str)
modules/openai/src/lib.rs:92
Methodhandle_msg
(content: &str, room: &str)
modules/openai/src/lib.rs:28
Functionhandle_signals
()
src/lib.rs:677
Methodhelp
(topic: Option<String>)
modules/libcommand/src/lib.rs:54
Methodinfo
(&mut self, msg: String)
src/wasm/apis/log.rs:32
Methodinfo
(String s)
java-module/Log.java:33
Methodinit
(_config: HashMap<String, String>)
modules/linkify/src/lib.rs:169
Methodinit
(_config: HashMap<String, String>)
modules/silverbullet/src/lib.rs:16
Methodinit
(_config: HashMap<String, String>)
modules/pun/src/lib.rs:38
Methodinit
(_config: HashMap<String, String>)
modules/horsejs/src/lib.rs:38
Methodinit
(config: Option<Vec<(String, String)>>)
modules/libcommand/src/lib.rs:41
Methodinit
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
Methodinit
(_config: HashMap<String, String>)
modules/openai/src/lib.rs:124
Methodinit
(_config: HashMap<String, String>)
modules/memos/src/lib.rs:16
Methodinit
(_config: HashMap<String, String>)
modules/secret/src/lib.rs:9
Methodinit
(_config: HashMap<String, String>)
modules/mastodon/src/lib.rs:23
Methodlink
(linker: &mut wasmtime::component::Linker<ModuleState>)
src/wasm/apis/sys.rs:12
Methodlink
(linker: &mut wasmtime::component::Linker<ModuleState>)
src/wasm/apis/mod.rs:32
Methodlink
(linker: &mut wasmtime::component::Linker<ModuleState>)
src/wasm/apis/kv_store.rs:25
Methodlink
(linker: &mut wasmtime::component::Linker<ModuleState>)
src/wasm/apis/sync_request.rs:17
Methodlink
(linker: &mut wasmtime::component::Linker<ModuleState>)
src/wasm/apis/log.rs:20
Methodlog
(&self, record: &::log::Record)
modules/wit-log/src/lib.rs:32
Functionlog_error
c-hello-world-module/trinity_module.c:120
Functionlog_info
c-hello-world-module/trinity_module.c:112
Functionlog_trace
c-hello-world-module/trinity_module.c:104
Functionlog_warn
c-hello-world-module/trinity_module.c:116
Functionmain
()
src/bin/main.rs:17
Methodnew
()
modules/wit-log/src/lib.rs:13
Methodnew
(room: String, author: String)
modules/libcommand/src/lib.rs:86
Methodnew
Create a new `AppCtx`.
src/lib.rs:150
Methodnew
Create a new collection of wasm modules.
src/wasm.rs:82
Methodnew
(client: Client)
src/room_resolver.rs:15
Methodnew
(module_name: String, db: ShareableDatabase)
src/wasm/apis/mod.rs:23
Methodnew
(db: ShareableDatabase, module_name: &str)
src/wasm/apis/kv_store.rs:18
Methodnew
(module_name: &str)
src/wasm/apis/log.rs:14
Methodon_admin
(client: &mut CommandClient, cmd: &str)
modules/linkify/src/lib.rs:235
Methodon_admin
(client: &mut CommandClient, cmd: &str)
modules/silverbullet/src/lib.rs:98
Methodon_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
Methodon_admin
(client: &mut CommandClient, cmd: &str)
modules/openai/src/lib.rs:155
Methodon_admin
(client: &mut CommandClient, cmd: &str)
modules/memos/src/lib.rs:96
Methodon_admin
(client: &mut libcommand::CommandClient, cmd: &str)
modules/secret/src/lib.rs:19
Methodon_admin
(client: &mut CommandClient, cmd: &str)
modules/mastodon/src/lib.rs:99
Methodon_help
(topic: Option<&str>)
modules/linkify/src/lib.rs:175
Methodon_help
(_topic: Option<&str>)
modules/uuid/src/lib.rs:6
Methodon_help
(topic: Option<&str>)
modules/silverbullet/src/lib.rs:21
Methodon_help
(topic: Option<&str>)
modules/pun/src/lib.rs:50
Methodon_help
(_topic: Option<&str>)
modules/horsejs/src/lib.rs:44
Methodon_help
(topic: Option<&str>)
modules/openai/src/lib.rs:129
Methodon_help
(topic: Option<&str>)
modules/memos/src/lib.rs:21
Methodon_help
(_topic: Option<&str>)
modules/secret/src/lib.rs:15
Methodon_help
(topic: Option<&str>)
modules/mastodon/src/lib.rs:28
Functionon_message
( ev: OriginalSyncRoomMessageEvent, room: Room, client: Client, Ctx(ctx): Ctx<App>, )
src/lib.rs:379
Methodon_msg
(client: &mut CommandClient, content: &str)
modules/linkify/src/lib.rs:229
Methodon_msg
(client: &mut CommandClient, content: &str)
modules/uuid/src/lib.rs:10
Methodon_msg
(client: &mut CommandClient, content: &str)
modules/silverbullet/src/lib.rs:42
Methodon_msg
(client: &mut CommandClient, msg: &str)
modules/pun/src/lib.rs:44
Methodon_msg
(client: &mut CommandClient, content: &str)
modules/horsejs/src/lib.rs:48
Methodon_msg
( content: String, author_id: String, _author_name: String, room: String,
modules/libcommand/src/lib.rs:58
Methodon_msg
(client: &mut CommandClient, content: &str)
modules/openai/src/lib.rs:146
Methodon_msg
(client: &mut CommandClient, content: &str)
modules/memos/src/lib.rs:42
Methodon_msg
(_client: &mut libcommand::CommandClient, _content: &str)
modules/secret/src/lib.rs:49
Methodon_msg
(client: &mut CommandClient, content: &str)
modules/mastodon/src/lib.rs:46
Functionon_room_upgrade
After a room has been upgraded, automatically attempt to join the new room.
src/lib.rs:346
Functionon_stripped_state_member
Autojoin mixin.
src/lib.rs:501
MethodrandU64
()
java-module/Sys.java:17
Methodrand_u64
(&mut self)
src/wasm/apis/sys.rs:18
Functionremove
(key: &[u8])
modules/wit-kv/src/kv_world.rs:218
Methodreplace
(msg: &str, rc: RoomConfig)
modules/linkify/src/lib.rs:58
Methodrun_request
(&mut self, req: Request)
src/wasm/apis/sync_request.rs:23
Functionset
(key: &[u8], value: &[u8])
modules/wit-kv/src/kv_world.rs:40
Methodset
(&mut self, key: Vec<u8>, value: Vec<u8>)
src/wasm/apis/kv_store.rs:74
Methodset_enabled
(&mut self, enabled: bool)
modules/wit-log/src/lib.rs:19
Methodset_max_level
(&mut self, level: ::log::LevelFilter)
modules/wit-log/src/lib.rs:22
Methodset_needs_recompile
(ptr: Arc<Mutex<Self>>)
src/lib.rs:177
← previousnext →101–200 of 215, ranked by callers