app/history/service.go

18 lines
321 B
Go
Raw Normal View History

2021-12-16 11:11:46 +00:00
package history
import "kumoly.io/kumoly/app/system"
type Service struct {
system.BaseService
}
func (srv Service) GetName() string { return "history.Service" }
func (srv Service) IsService() bool { return true }
func (srv Service) Main() error {
Start(DBReceiver)
return nil
}
func (srv Service) Del() {
Stop()
}