aboutsummaryrefslogtreecommitdiff
path: root/plugin.go
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2021-09-06 11:03:27 +0200
committerHimbeerserverDE <himbeerserverde@gmail.com>2021-09-06 11:03:27 +0200
commit18a80c7a57639a540965f9b101db18c6490cd804 (patch)
tree0c25e38ef68706186e10416e790c4ffd832abdf3 /plugin.go
parent1de8660e9d4c8f14a3b887e6f137d1c44a2664ef (diff)
Expose ClientConn to plugins
Diffstat (limited to 'plugin.go')
-rw-r--r--plugin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin.go b/plugin.go
index d4e3d27..2f7a803 100644
--- a/plugin.go
+++ b/plugin.go
@@ -1,4 +1,4 @@
-package main
+package proxy
import (
"log"
@@ -11,7 +11,7 @@ import (
var plugins []*plugin.Plugin
var pluginsMu sync.RWMutex
-func loadPlugins() error {
+func LoadPlugins() error {
executable, err := os.Executable()
if err != nil {
return err