15 lines
239 B
Go
15 lines
239 B
Go
package main
|
|
|
|
import (
|
|
"github.com/mattermost/mattermost/server/public/plugin"
|
|
)
|
|
|
|
func main() {
|
|
p := &Plugin{
|
|
stopChannel: make(chan struct{}),
|
|
}
|
|
|
|
p.apiRouter = InitRoutes(p) // Initialize the API router here
|
|
plugin.ClientMain(p)
|
|
}
|