server-mark2-dev/plugins/plugin.wit
Pakin d7f5e12d51 feat: add plugin
- add plugin system that request may included to run before do actual request by type.

Signed-off-by: Pakin <pakin.t@forth.co.th>
2026-05-12 12:40:32 +07:00

10 lines
No EOL
215 B
Text

package server-m2-dev:plugins;
interface handler {
// The plugin takes a message and returns a processed version
process-message: func(input: string) -> string;
}
world plugin-world {
export handler;
}