MCPcopy Create free account
hub / github.com/LEXUGE/dcompass / RuneScriptBuilder

Class RuneScriptBuilder

droute/src/router/script/rune_scripting/mod.rs:90–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88/// Two pub async functionas are required in the script: `pub async fn init()` and `pub async fn route(upstreams, init, ctx, query)`.
89#[derive(Serialize, Deserialize, Clone)]
90pub struct RuneScriptBuilder(String);
91
92impl RuneScriptBuilder {
93 /// Create a `RuneScriptBuilder` from the script source code.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected