37 lines
974 B
Go
37 lines
974 B
Go
// ================================================================================
|
|
// Code generated by GoFrame CLI tool. DO NOT EDIT.
|
|
// You can delete these comments if you wish manually maintain this interface file.
|
|
// ================================================================================
|
|
|
|
package service
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/tiger1103/gfast/v3/api/v1/system"
|
|
"github.com/tiger1103/gfast/v3/internal/app/system/model/do"
|
|
)
|
|
|
|
type (
|
|
ISysJobLog interface {
|
|
Add(ctx context.Context, data *do.SysJobLog) (err error)
|
|
List(ctx context.Context, req *system.SysJobLogListReq) (listRes *system.SysJobLogListRes, err error)
|
|
Delete(ctx context.Context, targetName string) (err error)
|
|
}
|
|
)
|
|
|
|
var (
|
|
localSysJobLog ISysJobLog
|
|
)
|
|
|
|
func SysJobLog() ISysJobLog {
|
|
if localSysJobLog == nil {
|
|
panic("implement not found for interface ISysJobLog, forgot register?")
|
|
}
|
|
return localSysJobLog
|
|
}
|
|
|
|
func RegisterSysJobLog(i ISysJobLog) {
|
|
localSysJobLog = i
|
|
}
|