[feat] job 和 grpc 支持

This commit is contained in:
2023-06-05 13:37:32 +08:00
parent 70269f22e9
commit 02cf3c74a5
5 changed files with 185 additions and 33 deletions
+8
View File
@@ -0,0 +1,8 @@
package contracts
type Job interface {
Start() error
Stop() error
Restart() error
Dispatch(job string, payload any, u User) error
}