2024-09-18 07:59:20 -07:00
|
|
|
package main
|
|
|
|
|
2024-11-05 05:17:08 -08:00
|
|
|
import (
|
|
|
|
"github.com/mattermost/mattermost/server/public/plugin"
|
|
|
|
)
|
2024-09-18 07:59:20 -07:00
|
|
|
|
2024-11-05 05:17:08 -08:00
|
|
|
func main() {
|
|
|
|
p := &Plugin{
|
|
|
|
stopChannel: make(chan struct{}),
|
|
|
|
}
|
|
|
|
|
|
|
|
p.apiRouter = InitRoutes(p) // Initialize the API router here
|
|
|
|
plugin.ClientMain(p)
|
|
|
|
}
|