summaryrefslogtreecommitdiffstats
path: root/plugin/example_hello_world_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/example_hello_world_test.go')
-rw-r--r--plugin/example_hello_world_test.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/plugin/example_hello_world_test.go b/plugin/example_hello_world_test.go
deleted file mode 100644
index 5dea28823..000000000
--- a/plugin/example_hello_world_test.go
+++ /dev/null
@@ -1,20 +0,0 @@
-package plugin_test
-
-import (
- "fmt"
- "net/http"
-
- "github.com/mattermost/mattermost-server/plugin/rpcplugin"
-)
-
-type HelloWorldPlugin struct{}
-
-func (p *HelloWorldPlugin) ServeHTTP(w http.ResponseWriter, r *http.Request) {
- fmt.Fprintf(w, "Hello, world!")
-}
-
-// This example demonstrates a plugin that handles HTTP requests which respond by greeting the
-// world.
-func Example_helloWorld() {
- rpcplugin.Main(&HelloWorldPlugin{})
-}