add queue

This commit is contained in:
yanghao05
2023-06-19 10:14:30 +08:00
parent d9d62a0bab
commit 6b3bc9d944
2 changed files with 10 additions and 0 deletions

View File

@@ -19,11 +19,13 @@ var (
GroupRoutesName = "routes"
GroupGrpcServerServiceName = "grpc_server_services"
GroupCommandName = "command_services"
GroupQueueName = "queue_handler"
GroupInitial = dig.Group(GroupInitialName)
GroupRoutes = dig.Group(GroupRoutesName)
GroupGrpcServer = dig.Group(GroupGrpcServerServiceName)
GroupCommand = dig.Group(GroupCommandName)
GroupQueue = dig.Group(GroupQueueName)
)
func Serve(providers container.Providers, opts ...Option) error {