[feat] 新增 ResEventService
This commit is contained in:
parent
0de36f9de0
commit
722d821818
@ -6,7 +6,11 @@ import (
|
|||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ResEvent string
|
type ResEventService interface {
|
||||||
|
Start() error
|
||||||
|
Stop() error
|
||||||
|
Restart() error
|
||||||
|
}
|
||||||
|
|
||||||
type ResListener interface {
|
type ResListener interface {
|
||||||
Insert(new map[string]any, u req.User, id int64) error
|
Insert(new map[string]any, u req.User, id int64) error
|
Loading…
Reference in New Issue
Block a user