backend-gopkg

command module
v1.4.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2024 License: MIT Imports: 0 Imported by: 0

README

DDD(领域设计驱动)+六边形架构

.


├── adapter
│   ├── grpc
│   └── http
│   └── facade  引用其他微服务(接口防腐层)
├── application 
│   ├── assembler   负责将内部领域模型转化为可对外的DTO
│   └── cqe Command、Query和Event --  入参
│   └── dto Application层的所有接口返回值为DTO -- 出参
│   └── service 负责业务流程的编排,但本身不负责任何业务逻辑
├── domain
│   ├── aggregate 聚合
│   ├── entity 实体
│   ├── event 事件
│   │   ├── publish
│   │   └── subsctibe
│   ├── repo 接口
│   │   └── specification 统一封装查询
│   ├── service 领域服务
│   └── vo 值对象
└── infrastructure
│   ├── config 配置文件
│   ├── pkg 常用工具类封装(DB,log,tool等)
│   └── repository
│   ├── converter domain内对象转化 do {互转}
│   └── do 数据库映射对象
└── types 封装自定义的参数类型,例如 phone 自校验参数   

APPID 必须是10位 因为使用了 ase126 来作为 OpenId的生成

key=APPID(10)+SALT(6) 16 = 126

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
infrastructure
pkg/live/aliyun-live-go-sdk/client
client 包 核心代码包,请求相关代码, 如:client request response 其中也包括整个sdk的一下基本信息 @author cbping
client 包 核心代码包,请求相关代码, 如:client request response 其中也包括整个sdk的一下基本信息 @author cbping
pkg/live/aliyun-live-go-sdk/device/cdn
cdn CDN服务Api @author cbping
cdn CDN服务Api @author cbping
pkg/live/aliyun-live-go-sdk/device/live
阿里云直播API 文档信息:https://help.aliyun.com/document_detail/27191.html?spm=0.0.0.0.60u2Ny @author cbping
阿里云直播API 文档信息:https://help.aliyun.com/document_detail/27191.html?spm=0.0.0.0.60u2Ny @author cbping
@author cbping
内部钩子
pkg/webdav
Package webdav provides a WebDAV server implementation.
Package webdav provides a WebDAV server implementation.
pkg/webdav/internal/xml
Package xml implements a simple XML 1.0 parser that understands XML name spaces.
Package xml implements a simple XML 1.0 parser that understands XML name spaces.
third

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL