mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
27 lines
301 B
Go
27 lines
301 B
Go
package apps
|
|
|
|
import (
|
|
"github.com/apex/log"
|
|
)
|
|
|
|
type Handler struct {
|
|
}
|
|
|
|
func (app *Handler) Init() {
|
|
}
|
|
|
|
func (app *Handler) Start() {
|
|
}
|
|
|
|
func (app *Handler) Wait() {
|
|
DefaultWait()
|
|
}
|
|
|
|
func (app *Handler) Stop() {
|
|
log.Info("handler has stopped")
|
|
}
|
|
|
|
func NewHandler() *Handler {
|
|
return &Handler{}
|
|
}
|