diff options
| author | Mistivia <i@mistivia.com> | 2025-10-24 00:11:55 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-10-24 00:11:55 +0800 |
| commit | ffa71fb8b2e5521f93d8599279af2b28a0795a66 (patch) | |
| tree | acd96fd3e03cb39c8a648c6298b96b9c847e716f /webircgateway/plugins/example | |
| parent | 5c71d2a538a93fd4a4fc06cb7941231cc5c0b104 (diff) | |
add web irc
Diffstat (limited to 'webircgateway/plugins/example')
| -rw-r--r-- | webircgateway/plugins/example/plugin.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/webircgateway/plugins/example/plugin.go b/webircgateway/plugins/example/plugin.go new file mode 100644 index 0000000..085d9e3 --- /dev/null +++ b/webircgateway/plugins/example/plugin.go @@ -0,0 +1,11 @@ +package main + +import ( + "sync" + + "github.com/kiwiirc/webircgateway/pkg/webircgateway" +) + +func Start(gateway *webircgateway.Gateway, pluginsQuit *sync.WaitGroup) { + gateway.Log(1, "Example gateway plugin %s", webircgateway.Version) +}
\ No newline at end of file |
