diff --git a/grpc.go b/grpc.go index 8e50bc2..0d2650b 100644 --- a/grpc.go +++ b/grpc.go @@ -5,7 +5,7 @@ import ( "google.golang.org/grpc" ) -type GRpcServcer interface { +type GRpcService interface { Start() error Stop() error Restart() error diff --git a/job.go b/job.go index 70d0427..aa83c10 100644 --- a/job.go +++ b/job.go @@ -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 }