Files
crawlab/backend/apps/interfaces.go
2021-05-31 16:26:17 +08:00

17 lines
215 B
Go

package apps
import "github.com/crawlab-team/crawlab-core/interfaces"
type App interface {
Init()
Start()
Wait()
Stop()
}
type MasterApp interface {
App
interfaces.WithConfigPath
SetRunOnMaster(ok bool)
}