mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-17 09:38:48 -05:00
19 lines
450 B
Go
19 lines
450 B
Go
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
package scheduler
|
|
|
|
import (
|
|
"github.com/mattermost/mattermost-server/app"
|
|
tjobs "github.com/mattermost/mattermost-server/jobs/interfaces"
|
|
)
|
|
|
|
type PluginsJobInterfaceImpl struct {
|
|
App *app.App
|
|
}
|
|
|
|
func init() {
|
|
app.RegisterJobsPluginsJobInterface(func(a *app.App) tjobs.PluginsJobInterface {
|
|
return &PluginsJobInterfaceImpl{a}
|
|
})
|
|
}
|