README ¶ golang project template golang项目基础模板 包含HTTP、gRPC、WebSocket、消息队列等服务端 采用 DDD(领域驱动设计)分层模式,以提高代码的可维护性和可扩展性。 Installation 安装步骤 git clone https://github.com/dysodeng/app.git cd app make init Usage 使用以下命令启动服务: make Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files main.go Directories ¶ Show internal Expand all Path Synopsis cmd internal api/grpc api/grpc/proto api/grpc/service api/http api/http/controller/common api/http/controller/debug api/http/controller/file api/http/dto/request/common api/http/dto/request/file api/http/dto/response/api api/http/dto/response/common api/http/middleware api/http/router api/http/validator api/websocket application/common application/file/dto/command application/file/dto/response application/file/event/handler application/file/service application/user/dto/command application/user/dto/query application/user/dto/response application/user/event/handler application/user/service config di domain/common/model domain/common/repository domain/common/service domain/file/event domain/file/model domain/file/repository domain/file/service domain/shared/event domain/user/event domain/user/model domain/user/repository domain/user/service infrastructure/event/bus infrastructure/event/manager infrastructure/event/publisher infrastructure/persistence/cache infrastructure/persistence/cache/contract infrastructure/persistence/cache/driver infrastructure/persistence/cache/serializer infrastructure/persistence/cache/strategy infrastructure/persistence/decorator infrastructure/persistence/model/common infrastructure/persistence/model/file infrastructure/persistence/model/link infrastructure/persistence/model/user infrastructure/persistence/repository infrastructure/persistence/repository/common infrastructure/persistence/repository/file infrastructure/persistence/repository/user infrastructure/rpc infrastructure/rpc/user infrastructure/transactions pkg/cache pkg/crypto pkg/crypto/aes pkg/crypto/rsa pkg/db pkg/errors pkg/form pkg/helper pkg/logger pkg/mail pkg/model pkg/mq pkg/qrcode pkg/redis pkg/request pkg/retry pkg/sms pkg/sms/alicloud pkg/storage pkg/telemetry pkg/telemetry/log pkg/telemetry/metrics pkg/telemetry/trace pkg/token pkg/validator pkg/validator/idcard pkg/vars pkg/ws pkg/ws/message server server/cron server/cron/job server/grpc server/health server/http server/task server/task/job server/websocket migrations migration Click to show internal directories. Click to hide internal directories.