[feat] 命名优化

This commit is contained in:
what 2023-06-06 10:14:16 +08:00
parent 217e5d14df
commit 5e9b841292
2 changed files with 2 additions and 5 deletions

View File

@ -5,7 +5,7 @@ import (
"google.golang.org/grpc"
)
type GRpcServcer interface {
type GRpcService interface {
Start() error
Stop() error
Restart() error

5
job.go
View File

@ -4,13 +4,10 @@ import (
"github.com/samber/do"
)
type JobServer interface {
type JobService interface {
Start() error
Stop() error
Restart() error
}
type JobService interface {
Dispatch(job string, payload any, u User) error
}