10 lines
215 B
Text
10 lines
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;
|
||
|
|
}
|