Files
full/all/internal/service/order.go

21 lines
457 B
Go
Raw Normal View History

2026-08-10 11:16:02 +08:00
package service
import (
"bsm/full/all/internal/impl"
2026-08-10 11:16:02 +08:00
"bsm/full/all/internal/server"
moduleService "bsm/full/module/ec/order/service"
)
func exposeOrder(srv *server.Server) error {
return moduleService.Expose(moduleService.ExposeOptions{
Dependencies: moduleService.Dependencies{
Redis: impl.RedisService,
Etcd: impl.EtcdService,
DB: impl.DBService,
Cache: impl.MemoryService,
},
2026-08-10 11:16:02 +08:00
GRPC: srv.GRPC,
Gateway: srv.Gateway,
})
}